Update markupsafe requirement from ~=2.1.5 to ~=3.0.2 (#140) #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |