Skip to content

Merge pull request #52 from Im-Rises/develop #3

Merge pull request #52 from Im-Rises/develop

Merge pull request #52 from Im-Rises/develop #3

name: gh-pages-publish
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- run: npm install
- run: npm run build
- name: Deploy
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}