Skip to content

Commit

Permalink
fix tf modul upload
Browse files Browse the repository at this point in the history
  • Loading branch information
elchead committed Dec 21, 2023
1 parent a0b4284 commit 410a441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/actions/upload_terraform_module/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Upload Terraform infrastructure module
description: "Upload the Terraform infrastructure module as an artifact."
inputs:
encryption-secret:
description: 'The secret to use for encrypting the artifact.'
required: true



runs:
Expand All @@ -20,11 +17,10 @@ runs:
zip -r terraform-module.zip terraform-module
- name: Upload artifact
uses: ./.github/actions/artifact_upload
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: terraform-module
path: terraform-module.zip
encryption-secret: ${{ inputs.encryption-secret }}

- name: Cleanup Terraform module dir
shell: bash
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ jobs:

- name: Upload Terraform infrastructure module
uses: ./.github/actions/upload_terraform_module
with:
encryption-secret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}

push-containers:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 410a441

Please sign in to comment.