Skip to content

Merge pull request #31 from stefanjenkner/dependabot/pip/markupsafe-2… #51

Merge pull request #31 from stefanjenkner/dependabot/pip/markupsafe-2…

Merge pull request #31 from stefanjenkner/dependabot/pip/markupsafe-2… #51

Workflow file for this run

name: Build and deploy to GitHub Pages
on:
push:
branches: [ pelican ]
pull_request:
branches: [ pelican ]
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build
run: pelican -v
- name: Publish
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
publish_branch: master