Skip to content

CD

CD #1409

name: CD
on:
push:
branches:
- master
schedule:
- cron: "30 12 * * *"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Deps
run: |
yarn install --production
- name: Build
run: |
yarn build
- name: Deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build