Skip to content

Commit

Permalink
feat: set OP_SERVICE_ACCOUNT_TOKEN env var when calling deploy_to_aws
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina committed Jul 22, 2024
1 parent d5b076e commit e704dca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release_and_deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ jobs:
uses: ./.github/actions/prepare_deploy_to_aws
- name: Deploy Preview
uses: ./.github/actions/deploy_to_aws
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
with:
docker_tag: ${{ needs.ref.outputs.docker_tag }}
stack_name: gitcoin/scroll-badge-service/staging
Expand All @@ -131,9 +133,6 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
PULUMI_ACCESS_TOKEN: ${{ env.PULUMI_ACCESS_TOKEN }}
ROUTE_53_DOMAIN: ${{ env.ROUTE_53_DOMAIN }}
SCROLL_SECRETS_ARN: ${{ env.SCROLL_SECRETS_ARN }}
VC_SECRETS_ARN: ${{ env.VC_SECRETS_ARN }}

deploy_confirm_staging:
name: Review Approval Pending for staging
Expand Down Expand Up @@ -208,7 +207,7 @@ jobs:
VC_SECRETS_ARN: op://DevOps/passport-scroll-badge-service-production-env/service/VC_SECRETS_ARN
- name: Prepare to Deploy to AWS
uses: ./.github/actions/prepare_deploy_to_aws
- name: Deploy Preview -
- name: Deploy Preview -
uses: ./.github/actions/deploy_to_aws
with:
docker_tag: ${{ needs.ref.outputs.docker_tag }}
Expand Down

0 comments on commit e704dca

Please sign in to comment.