Skip to content

Commit

Permalink
fix conditional statements for creds
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq committed Jun 7, 2024
1 parent 448073a commit 261e398
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/insar_pair.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
run: pip install -e .

- name: Configure AWS Credentials
if: ${{ inputs.environment }} != 'testing'
if: ${{ inputs.environment != 'testing' }}
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
echo "PREFIX=${PREFIX}" >> $GITHUB_ENV
- name: Upload to AWS S3
if: ${{ inputs.environment }} != 'testing'
if: ${{ inputs.environment != 'testing' }}
env:
BURSTID: ${{ inputs.burstId }}
BUCKET: ${{ vars.BUCKET_PREFIX }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/offsets_pair.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
run: pip install -e .

- name: Configure AWS Credentials
if: ${{ inputs.environment != 'testing' }}
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down Expand Up @@ -141,7 +142,7 @@ jobs:
echo "PREFIX=${PREFIX}" >> $GITHUB_ENV
- name: Upload to AWS S3
if: ${{ inputs.environment }} != 'testing'
if: ${{ inputs.environment != 'testing' }}
env:
BURSTID: ${{ inputs.burstId }}
BUCKET: ${{ vars.BUCKET_PREFIX }}
Expand Down

0 comments on commit 261e398

Please sign in to comment.