Rebuild site

This page is not linked from the site. Use it to trigger a rebuild and redeploy of the static site (e.g. after updating content in Affine).

Option 1: Run workflow in GitHub

Open the workflow page and click Run workflow.

https://github.com/lemmaoracle/lemma/actions/workflows/deploy-pages.yml

Option 2: Trigger via URL (repository_dispatch)

From a script or external service (e.g. after Affine updates), send a POST request with a Personal Access Token (PAT). This site is static, so a plain GET to this page cannot start the workflow without credentials.

curl -X POST \
  -H "Authorization: token $PAT" \
  -H "Accept: application/vnd.github.v3+json" \
  https://api.github.com/repos/lemmaoracle/lemma/dispatches \
  -d '[object Object]'

Store the PAT in your environment or a secret store; do not commit it. The workflow listens for event_type: rebuild.

← Back to home