Skip to content

Update after May

Update after May #85

Workflow file for this run

name: Publish to GitHub Pages
on:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!master' # excludes master
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out
uses: actions/checkout@v3
- name: Lektor build
run: |
ls -l
pwd
sudo apt update
sudo apt install python3-venv pipx
pipx ensurepath
pipx install lektor
lektor build -O ./dist
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/source' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_branch: master
cname: madpy.com