Skip to content

CI: Add release workflow #4

CI: Add release workflow

CI: Add release workflow #4

Workflow file for this run

name: Release the app to GitHub pages
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- run: npm ci
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: build/dist/
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deployment
uses: actions/deploy-pages@v4