Skip to content

Merge pull request #43 from stefanjenkner/dependabot/pip/docutils-0.21.2 #87

Merge pull request #43 from stefanjenkner/dependabot/pip/docutils-0.21.2

Merge pull request #43 from stefanjenkner/dependabot/pip/docutils-0.21.2 #87

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@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
publish_branch: master