Skip to content

Add pycamp toyama

Add pycamp toyama #33

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/[email protected]
with:
build_dir: build/singlehtml
github_token: ${{ secrets.GITHUB_TOKEN }}