Skip to content

Commit

Permalink
Sets aws region so awscli v2 doesn't just return a botocore object
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon committed Nov 22, 2021
1 parent 802c5f2 commit 8a90ffa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
matrix:
el_version: [7, 8]
env:
AWS_DEFAULT_REGION: us-east-1
REPO_ENDPOINT: https://spel-packages.cloudarmor.io
REPO_BUCKET: spel-packages
REPO_PREFIX: repo
Expand All @@ -35,6 +36,12 @@ jobs:
- name: Clone this git repository
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579

- name: wut
run: |
set -x
REPO_ENDPOINT=${{ env.REPO_ENDPOINT }}
echo https://${REPO_ENDPOINT}
- name: Retrieve existing spel-packages yum repo
run: aws s3 sync --no-sign-request --exact-timestamps --endpoint-url ${{ env.REPO_ENDPOINT }} s3://${{ env.REPO_BUCKET }}/${{ env.REPO_PREFIX }} ./${{ env.REPO_PATH }}

Expand Down

0 comments on commit 8a90ffa

Please sign in to comment.