Skip to content

v2.4.0

v2.4.0 #36

Workflow file for this run

name: "Deploy"
on:
release:
types: [released] # triggered on main branch releases
jobs:
install:
name: "Install"
runs-on: ubuntu-latest
steps:
- name: "πŸ›Ž Checkout"
uses: actions/checkout@v4
- name: "πŸ”§ Setup"
uses: ./.github/actions/use-dependencies
build:
name: "Build"
needs: install
runs-on: ubuntu-latest
steps:
- name: "πŸ›Ž Checkout"
uses: actions/checkout@v4
- name: "πŸ”§ Setup"
uses: ./.github/actions/use-dependencies
- name: "πŸ—οΈ Build"
run: yarn build
- name: "πŸ“€ Upload artifact"
uses: actions/upload-pages-artifact@v3
with:
path: ./build
deploy:
name: "Deploy"
needs: [install, build]
permissions:
pages: write # to deploy to pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: "πŸš€ Deploy"
id: deployment
uses: actions/deploy-pages@v4