Skip to content

Merge pull request #418 from cycjimmy/dependabot/github_actions/cover… #322

Merge pull request #418 from cycjimmy/dependabot/github_actions/cover…

Merge pull request #418 from cycjimmy/dependabot/github_actions/cover… #322

name: Deploy To gh-pages
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Pre-built
run: |
npm ci
npm run build:deployment
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages
folder: .publish
token: ${{ secrets.ACCESS_TOKEN }}