Skip to content

Build Pages

Build Pages #295

Workflow file for this run

name: Build Pages
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Move directory
run: |
to_move=$(echo *)
mkdir -p _site/v1
mv $to_move _site/v1
cp .github/CNAME _site/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./_site
github_token: ${{ secrets.GITHUB_TOKEN }}