Bump actions/setup-node from 3.8.1 to 4.0.0 (#1007) #142
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: Publish Docs | |
on: | |
push: | |
branches: [main] | |
jobs: | |
publish_docs: | |
runs-on: ubuntu-latest | |
container: | |
image: node | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4.0.0 | |
with: | |
node-version: 20.x | |
- run: npm ci | |
- run: ./bin/deploy-docs | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
directory: gh-pages | |
force: true |