Skip to content

TLS article: addendum #16

TLS article: addendum

TLS article: addendum #16

Workflow file for this run

name: deploy to CF pages
on:
push:
paths-ignore:
- .gitignore
- Makefile
- README.md
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 }}