Skip to content

CD

CD #1034

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