Skip to content

Update gh-pages.yml #123

Update gh-pages.yml

Update gh-pages.yml #123

Workflow file for this run

name: Publish to Github Pages
on:
push:
branches: ['main']
tags: ['v*.*.*']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
- name: Install dependencies
run: npm install
- name: Publish to Github Pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run deploy