Skip to content

GitHub Pages

GitHub Pages #210

Workflow file for this run

name: GitHub Pages
on:
workflow_run:
workflows: [ "CI" ]
types:
- completed
branches:
- main
workflow_dispatch: { }
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: yarn ci
- name: Run linters
run: yarn lint
- name: Build
run: yarn build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public