Skip to content

v2.6.1

v2.6.1 #39

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