chore(deps): Bump actions/checkout (#1328) #66
Workflow file for this run
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: Deploy to GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
env: | |
FORCE_COLOR: 2 | |
NODE: 16 | |
permissions: | |
contents: read | |
jobs: | |
pages: | |
permissions: | |
contents: write # for peaceiris/actions-gh-pages to push pages branch | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 | |
with: | |
node-version: "${{ env.NODE }}" | |
cache: "npm" | |
- run: npm ci | |
- name: Build docs | |
run: npm run build:docs | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs |