Skip to content

Add aichi re:2nd

Add aichi re:2nd #32

Workflow file for this run

name: Publish on GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -r requirements.in
- name: Build document
run: |
make singlehtml
- name: Remove redundant files
run: |
cd build/singlehtml
rm .buildinfo objects.inv
cd _static
rm -r cover.png impressions/ photos/ profiles/
- name: Publish on GitHub Pages
uses: ftnext/action-push-ghpages@v1.0.0
with:
build_dir: build/singlehtml
github_token: ${{ secrets.GITHUB_TOKEN }}