Skip to content

Release 1.0

Release 1.0 #11

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Deploy on release
permissions: write-all
on:
release:
publish:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
- name: Install dependencies
run: npm i
- name: Build
run: npm run build
- name: Setup GitHub Pages
uses: actions/configure-pages@v4
- name: Upload build artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4