bump version #8
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 | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: 'pages' | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: docs | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: yarn | |
cache-dependency-path: docs/yarn.lock | |
- name: install dependencies | |
run: yarn install --non-interactive | |
- name: build | |
run: yarn build | |
- name: set up pages | |
uses: actions/configure-pages@v3 | |
- name: upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: docs/build | |
- name: deploy to pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |