Skip to content

Commit

Permalink
fix: attempt s3 upload via put-object instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lesage committed Apr 16, 2024
1 parent 9840613 commit b062ff6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ jobs:
aws s3 cp ~/AssociationRegistry.KboMutations.MutationFileLambda.zip s3://$S3_BASEURL/$VERSION/lambda.zip --copy-props none
env:
VERSION: ${{ needs.release.outputs.version }}
# S3_BASEURL: 's3-verenigingsregister-lam-kbo-mutations-file-460116816372'
S3_BASEURL: 's3-verenigingsregister-lam-kbo-mutations-file-716164567317'
S3_BASEURL: 's3-verenigingsregister-lam-kbo-mutations-file-460116816372'
# S3_BASEURL: 's3-verenigingsregister-lam-kbo-mutations-file-716164567317'

upload-sync-lambda:
name: Upload Sync Lambda
Expand Down Expand Up @@ -504,11 +504,12 @@ jobs:
- name: Upload Lambda function
shell: bash
run: |
aws s3 cp ~/AssociationRegistry.KboMutations.SyncLambda.zip s3://$S3_BASEURL/$VERSION/lambda.zip --copy-props none
aws s3api put-object --bucket $S3_BASEURL --key lambda.zip --body ~/AssociationRegistry.KboMutations.SyncLambda.zip
env:
# aws s3 cp ~/AssociationRegistry.KboMutations.SyncLambda.zip s3://$S3_BASEURL/$VERSION/lambda.zip --copy-props none
VERSION: ${{ needs.release.outputs.version }}
# S3_BASEURL: 's3-verenigingsregister-lam-kbo-sync-460116816372'
S3_BASEURL: 's3-verenigingsregister-lam-kbo-sync-716164567317'
S3_BASEURL: 's3-verenigingsregister-lam-kbo-sync-460116816372'
# S3_BASEURL: 's3-verenigingsregister-lam-kbo-sync-716164567317'

publish_to_atlassian:
if: needs.release.outputs.version != 'none'
Expand Down

0 comments on commit b062ff6

Please sign in to comment.