Skip to content

Update GitHub pages workflow to include contents: write #13

Update GitHub pages workflow to include contents: write

Update GitHub pages workflow to include contents: write #13

Workflow file for this run

name: "GitHub Pages"
on:
push
# branches:
# - main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write # Required for deploying pages
pages: write # Required for deploying pages
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
cache: 'yarn'
- run: yarn install
- run: yarn build:client
- run: yarn build:docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs