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 22, 2023
1 parent a332ca4 commit 48343dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 1 addition & 7 deletions .github/actions/upload_terraform_module/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: Upload Terraform infrastructure module
description: "Upload the Terraform infrastructure module as an artifact."
inputs:
encryptionSecret:
description: 'The secret to use for encrypting the artifact.'
required: true


runs:
using: "composite"
Expand All @@ -20,11 +15,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
encryptionSecret: ${{ inputs.encryptionSecret }}

- 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:
encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}

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

0 comments on commit 48343dd

Please sign in to comment.