Skip to content

Commit

Permalink
Upload zip files to compare
Browse files Browse the repository at this point in the history
  • Loading branch information
rahearn committed Jan 3, 2025
1 parent f0415f6 commit 54e56f7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/terraform-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ jobs:
bucket=${{ secrets.TERRAFORM_STATE_BUCKET_NAME }}
key=terraform.tfstate.staging
- name: Save app zip
uses: actions/upload-artifact@v4
with:
name: zip-with-precompile
path: terraform/dist/src.zip
compression-level: 0
overwrite: true
retention-days: 2
if-no-files-found: error


recompile:
needs: terraform
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -110,3 +121,13 @@ jobs:
secret_key=${{ secrets.TERRAFORM_STATE_SECRET_ACCESS_KEY }}
bucket=${{ secrets.TERRAFORM_STATE_BUCKET_NAME }}
key=terraform.tfstate.staging
- name: Save app zip
uses: actions/upload-artifact@v4
with:
name: zip-with-cache
path: terraform/dist/src.zip
compression-level: 0
overwrite: true
retention-days: 2
if-no-files-found: error

0 comments on commit 54e56f7

Please sign in to comment.