Skip to content

Merge pull request #394 from cycjimmy/dependabot/npm_and_yarn/rollup-… #305

Merge pull request #394 from cycjimmy/dependabot/npm_and_yarn/rollup-…

Merge pull request #394 from cycjimmy/dependabot/npm_and_yarn/rollup-… #305

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 }}