Skip to content

Commit

Permalink
ci: assume role for ODR
Browse files Browse the repository at this point in the history
  • Loading branch information
amfage committed Sep 10, 2023
1 parent f28e0bf commit 277bfcc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
mask-aws-account-id: true
role-to-assume: ${{ secrets.AWS_CI_ROLE }}

- name: AWS Configure ODR
if: github.ref == 'refs/heads/master'
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: ap-southeast-2
mask-aws-account-id: true
role-to-assume: ${{ secrets.AWS_ODR_DATAMANAGER_ROLE }}
role-chaining: true

# Sync STAC files only on push to 'master'
- name: Sync STAC
uses: docker://ghcr.io/linz/argo-tasks:v2
Expand Down

0 comments on commit 277bfcc

Please sign in to comment.