Skip to content

Commit

Permalink
docs: deploy generated docs to a different folder, add github setup i…
Browse files Browse the repository at this point in the history
…nstructions
  • Loading branch information
orefalo committed Jun 18, 2024
1 parent aa20914 commit 3660a85
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs
target-folder: docs
target-folder: generated-docs
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,18 @@ END_COMMIT_OVERRIDE
```

Source: https://github.com/googleapis/release-please#how-can-i-fix-release-notes

## GitHub Configured

### Code and Automation / Actions / General

- Workflow must have `R/W` permissions
- Check `Allow GitHub Actions to create and approve pull requests`

### Code and Automation / GH Pages

- Point it to branch `gh-pages`, folder `generated-docs`

### Security / Secrets and variables / Actions / Respository secrets

- Define secret `NPM_TOKEN` with a finegrained RW access token from NPM, for security is should be restricted to repository.

0 comments on commit 3660a85

Please sign in to comment.