Skip to content

Commit

Permalink
update github action to also upload environment configs to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
dil07 committed Jan 26, 2024
1 parent 7f2f94c commit 4d3dd6b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/compress-cookbooks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Compress Cookbooks
name: Upload Cookbooks & Configs to S3

on: [push]
jobs:
Expand All @@ -18,5 +18,7 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Upload to S3
run: aws s3 cp ${{ github.workspace }}/../cookbooks.tar.gz s3://ssm.jumbledev.com/${{ github.ref_name }}/cookbooks.tar.gz
run: |
aws s3 cp ${{ github.workspace }}/../cookbooks.tar.gz s3://ssm.jumbledev.com/${{ github.ref_name }}/cookbooks.tar.gz
aws s3 cp ${{ github.workspace }}/.chef/environments s3://ssm.jumbledev.com/${{ github.ref_name }}/environments --recursive

0 comments on commit 4d3dd6b

Please sign in to comment.