Skip to content

Commit

Permalink
fix:switch to using the actions from gh-workflow main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina committed Jul 24, 2024
1 parent c60c98d commit 02f6b1f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_and_deploy_generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: ref
uses: passportxyz/gh-workflows/.github/actions/load_commit_ref@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/load_commit_ref@main
with:
commit: ${{ inputs.commit }}

Expand All @@ -42,7 +42,7 @@ jobs:
AWS_ACCESS_KEY_ID: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/AWS_SECRET_ACCESS_KEY
- id: build_and_push_docker_image
uses: passportxyz/gh-workflows/.github/actions/build_and_push@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/build_and_push@main
with:
refspec: ${{ needs.ref.outputs.refspec }}
docker_tag: ${{ needs.ref.outputs.docker_tag }}
Expand Down Expand Up @@ -79,9 +79,9 @@ jobs:
AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/AWS_SECRET_ACCESS_KEY
PULUMI_ACCESS_TOKEN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/PULUMI_ACCESS_TOKEN
- name: Prepare to Deploy to AWS
uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@main
- name: Deploy Preview
uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@main
with:
docker_tag: ${{ needs.ref.outputs.docker_tag }}
stack_name: gitcoin/scroll-badge-service/${{ inputs.environment }}
Expand Down Expand Up @@ -129,9 +129,9 @@ jobs:
AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/AWS_SECRET_ACCESS_KEY
PULUMI_ACCESS_TOKEN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/PULUMI_ACCESS_TOKEN
- name: Prepare to Deploy to AWS
uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@main
- name: Deploy Review
uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@main
with:
docker_tag: ${{ needs.ref.outputs.docker_tag }}
stack_name: gitcoin/scroll-badge-service/${{ inputs.environment }}
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/deploy_generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,10 @@ jobs:
AWS_ACCESS_KEY_ID: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/AWS_SECRET_ACCESS_KEY
PULUMI_ACCESS_TOKEN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/PULUMI_ACCESS_TOKEN
ROUTE_53_DOMAIN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/ROUTE_53_DOMAIN
SCROLL_SECRETS_ARN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/SCROLL_SECRETS_ARN
VC_SECRETS_ARN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/VC_SECRETS_ARN
- name: Prepare to Deploy to AWS
uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@main
- name: Deploy Review
uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@main
with:
docker_tag: ${{ needs.ref.outputs.docker_tag }}
stack_name: gitcoin/scroll-badge-service/${{ inputs.environment }}
Expand Down Expand Up @@ -104,13 +101,10 @@ jobs:
AWS_ACCESS_KEY_ID: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/AWS_SECRET_ACCESS_KEY
PULUMI_ACCESS_TOKEN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/PULUMI_ACCESS_TOKEN
ROUTE_53_DOMAIN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/ROUTE_53_DOMAIN
SCROLL_SECRETS_ARN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/SCROLL_SECRETS_ARN
VC_SECRETS_ARN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/VC_SECRETS_ARN
- name: Prepare to Deploy to AWS
uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@main
- name: Deploy Review
uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@fix_build_dir
uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@main
with:
docker_tag: ${{ needs.ref.outputs.docker_tag }}
stack_name: gitcoin/scroll-badge-service/${{ inputs.environment }}
Expand Down

0 comments on commit 02f6b1f

Please sign in to comment.