Skip to content

github pages

github pages #1054

Workflow file for this run

name: github pages
on:
push:
branches:
- main
schedule:
- cron: '0 20 * * *'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: yarn
- run: yarn build
- run: yarn rgd --token=${{ secrets.GITHUB_TOKEN }}
- run: yarn woap --token=${{ secrets.GITHUB_TOKEN }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
force_orphan: true