ci: start testing against 22 (#447) #304
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update docs on pushes to main | |
"on": | |
push: | |
branches: | |
- main | |
jobs: | |
update_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: npm | |
- run: npm ci | |
- run: npm --prefix ./docs ci ./docs | |
- run: npm run build --prefix ./docs -- --prefix-paths | |
- uses: maxheld83/ghpages@master | |
env: | |
BUILD_DIR: docs/public/ | |
GH_PAT: ${{ secrets.OCTOKITBOT_PAT }} |