Skip to content

bump pelican version and reference requirements.txt in workflow #11

bump pelican version and reference requirements.txt in workflow

bump pelican version and reference requirements.txt in workflow #11

Workflow file for this run

name: deploy to CF pages
on: [push]
jobs:
deploy:
name: generate HTML
runs-on: ubuntu-22.04
permissions:
contents: read
deployments: write
steps:
- name: checkout
uses: actions/checkout@v3
- name: install pelican
run: pipx install --verbose $(head -1 requirements.txt)
- name: generate
run: make html
- name: publish
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: blog
directory: output
gitHubToken: ${{ secrets.GITHUB_TOKEN }}