Skip to content

Deploy Static Pages #431

Deploy Static Pages

Deploy Static Pages #431

Workflow file for this run

name: Deploy Static Pages
on:
workflow_dispatch:
workflow_run:
workflows: ["Continuous Integration"]
branches: [main]
types:
- completed
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
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: current
cache: yarn
- run: yarn install --immutable
- run: yarn build
env:
VOTD_SYMBOLS_PATH: /votd-symbols/
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: "dist"
- uses: actions/deploy-pages@v4
id: deployment