Upload Bootstrap Assets
The upload-bootstrap.yml workflow packages the Docusaurus template and uploads it together with docubuilder.sh to S3.
Trigger
| Event | Condition |
|---|---|
Push to main | Only when files under bootstrap/docusaurus/template/** or bootstrap/scripts/** change |
| Manual | workflow_dispatch — no conditions |
Required GitHub variables
| Variable | Value |
|---|---|
AWS_DOCS_ROLE_TO_ASSUME | ARN of github-oidc-workflow-role |
AWS_REGION | eu-west-1 |
What it does
- Zips the entire
bootstrap/docusaurus/template/folder (excluding build artifacts and dependencies). - Uploads
doc_template.zipto the publicbootstrap/prefix in S3. - Uploads
docubuilder.shto the same prefix.
Published assets
Both assets are publicly readable after the workflow completes:
| Asset | S3 path |
|---|---|
doc_template.zip | s3://neulabs-docs-swamp/bootstrap/doc_template.zip |
docubuilder.sh | s3://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.