Skip to content

merged

merged #240

Workflow file for this run

name: Staging Deployment
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies and build artifacts
run: |
npm install
npm run build
- name: Upload artifacts
uses: actions/upload-pages-artifact@v1
with:
path: build/
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1