Skip to content

add workflow for page deployment #1

add workflow for page deployment

add workflow for page deployment #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
# https://github.com/sterlingwes/gh-pages-deploy-action
github-pages:
name: Publish Latest to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
- name: Install and Build 🔧
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
token: ${{ secrets.TOKEN }}