Move stats publishing from the dev bucket to prod
Open
@grst is already working on this.
Since Sep 8, 2026.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 0
- Avg merge
- 9h 25m
- Merged PRs (30d)
- 3
Description
The deploy workflow publishes to scverse-stats-dev because the AWS_ROLE_ARN secret holds GitHubActions-Stats-Manager-dev, whose IAM policy only covers the dev bucket — syncing to scverse-stats fails on s3:ListBucket (scverse/stats#12).
To move to prod:
- Confirm the prod role exists:
aws iam get-role --role-name GitHubActions-Stats-Manager. If not, apply prod inscverse/aws:tofu init -backend-config=conf/backend-prod.conf -reconfigure && tofu apply -var-file=conf/prod.tfvars - Repoint the secret:
gh secret set AWS_ROLE_ARN --repo scverse/stats --body "arn:aws:iam::<account>:role/GitHubActions-Stats-Manager" - Set
STATS_BUCKET: scverse-statsin.github/workflows/deploy.yaml - Update the three fetches in scverse/scverse.github.io (
layouts/stats/list.html,layouts/people/list.html,layouts/shortcodes/stats.html) to the prod bucket
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.