Skip to content

Merge pull request #392 from cycjimmy/dependabot/npm_and_yarn/babel/c… #283

Merge pull request #392 from cycjimmy/dependabot/npm_and_yarn/babel/c…

Merge pull request #392 from cycjimmy/dependabot/npm_and_yarn/babel/c… #283

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