Skip to content

Commit

Permalink
Update push to s3 GH action to include destroy script (#37)
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Enright <[email protected]>
  • Loading branch information
jimright authored Aug 2, 2024
1 parent 66996b7 commit d500293
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/push-quickstart-script-to-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Push quickstart scripts to S3
- name: Push quickstart and destroy scripts to S3
run: |
for csp in aws azure gcp
do
aws s3 cp ${csp}/quickstart.sh s3://${{ vars.S3_BUCKET }}/${csp}/${{ env.S3_FOLDER }}/
aws s3 cp ${csp}/destroy.sh s3://${{ vars.S3_BUCKET }}/${csp}/${{ env.S3_FOLDER }}/
done

0 comments on commit d500293

Please sign in to comment.