Skip to content

deploy

deploy #826

Workflow file for this run

name: deploy
on:
push:
branches:
- main # Set a branch name to trigger deployment
schedule:
- cron: '0 0 * * *'
jobs:
deploy:
name: "deploy"
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: yarn install
- name: Generate website
run: yarn run website
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist