Skip to content

Commit

Permalink
Fix GH Set Set when just repository was provided (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoranga authored Jan 20, 2022
1 parent 2f44db1 commit bc5cfb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gha-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ EOF

## IMPORTANT: Set secret operates on the nearest .git repo even if you specify a different repository
pushd $PROJECT_DIR && \
gh secret set AWS_ACCESS_KEY_ID --repos="$GITHUB_REPO" --body="$AWS_ACCESS_KEY_ID" && \
gh secret set AWS_SECRET_ACCESS_KEY --repos="$GITHUB_REPO" --body="$AWS_SECRET_ACCESS_KEY" && \
gh secret set AWS_ACCESS_KEY_ID --repos="$GITHUB_ORG/$GITHUB_REPO" --body="$AWS_ACCESS_KEY_ID" && \
gh secret set AWS_SECRET_ACCESS_KEY --repos="$GITHUB_ORG/$GITHUB_REPO" --body="$AWS_SECRET_ACCESS_KEY" && \
popd

## Branch Protect for PRs
Expand Down

0 comments on commit bc5cfb3

Please sign in to comment.