Skip to content

Bump actions/checkout from 3 to 4 (#128) #5

Bump actions/checkout from 3 to 4 (#128)

Bump actions/checkout from 3 to 4 (#128) #5

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Upgrade pip
run: python3 -m pip install --upgrade pip
- name: Install dependencies
run: python3 -m pip install -r requirements.txt
- name: Build
run: |
make html
cp -r images _build/html
cp CNAME _build/html
touch _build/html/.nojekyll
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/html