Skip to main content

Upload Bootstrap Assets

The upload-bootstrap.yml workflow packages the Docusaurus template and uploads it together with docubuilder.sh to S3.

Trigger

EventCondition
Push to mainOnly when files under bootstrap/docusaurus/template/** or bootstrap/scripts/** change
Manualworkflow_dispatch — no conditions

Required GitHub variables

VariableValue
AWS_DOCS_ROLE_TO_ASSUMEARN of github-oidc-workflow-role
AWS_REGIONeu-west-1

What it does

  1. Zips the entire bootstrap/docusaurus/template/ folder (excluding build artifacts and dependencies).
  2. Uploads doc_template.zip to the public bootstrap/ prefix in S3.
  3. Uploads docubuilder.sh to the same prefix.

Published assets

Both assets are publicly readable after the workflow completes:

AssetS3 path
doc_template.zips3://neulabs-docs-swamp/bootstrap/doc_template.zip
docubuilder.shs3://neulabs-docs-swamp/bootstrap/docubuilder.sh

Public access is granted by the bucket policy in infra/lib/infra-stack.ts scoped to bootstrap/*. Everything else in the bucket remains private.