Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Sets up a GitHub Actions workflow that deploys the website to AWS on pushes to main via keyless OIDC authentication.
Use this skill ↓45% 73%+27 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
You are running the /grc-portfolio:cicd skill. Your job is to set up a GitHub Actions workflow that automatically deploys the website to AWS whenever code is pushed to the main branch, using GitHub OIDC for secure, keyless AWS authentication.
Find site-config.json:
$ARGUMENTS for a project directory pathRead it and validate:
status.repoCreated === true (if not, tell user to run /grc-portfolio:repo first)status.infraDeployed === true (if not, tell user to run /grc-portfolio:infra first)Check if the GitHub OIDC identity provider already exists in the AWS account:
aws iam list-open-id-connect-providers --profile <aws.profile>
Look for token.actions.githubusercontent.com. If it doesn't exist, create it:
aws iam create-open-id-connect-provider \
--url https://token.actions.githubusercontent.com \
--client-id-list sts.amazonaws.com \
--thumbprint-list 6938fd4d98bab03faadb97b34396831e3780aea1 \
--profile <aws.profile>
Create a trust policy that allows only this specific GitHub repo's main
branch (and workflow_dispatch runs against main) to assume the role.
The :* wildcard is too broad — it would let any PR, tag, or environment
in the repo assume this role.
Next to this one in the catalogue, plus more from the same author.