Action generates Hugo production and preview pages, then deploys to Cloudflare Workers.
Intended for Anthrocon internal use, however may be useful elsewhere.
Create a workflow in .github/workflows with:
on:
push:
jobs:
call:
uses: Anthrocon/actions-pages/.github/workflows/deploy.yaml@v1
with:
cloudflare-project: NAME
secrets:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}If no existing Cloudflare Workers project is specified, action will build without deploy.
Authentication is stored in repository secrets. Further information can be found in Cloudflare Docs.
Recommended. Overrides action default, and prevents unexpected changes.
uses: Anthrocon/actions-pages/.github/workflows/deploy.yaml@v1
with:
hugo-version: 0.164.0By default, action caches Hugo package, build cache, and resources. Cache can be disabled for testing.
uses: Anthrocon/actions-pages/.github/workflows/deploy.yaml@v1
with:
cache: falseNo license implied. All rights reserved copyright Anthrocon, Inc., 2026.