Skip to content

Commit 95af62d

Browse files
committed
CCM-11751: Package and publish modules to Github
1 parent 9a19b51 commit 95af62d

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/stage-5-publish.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,7 @@ jobs:
8181
asset_name: jekyll-docs-${{ inputs.version }}.tar
8282
asset_content_type: "application/gzip"
8383

84-
- name: "Package and Publish Terraform modules"
85-
run: |
86-
cd infrastructure/modules
87-
for module in */; do
88-
module_name=${module%/}
89-
zip -r "../../artifacts/terraform-${module_name}-${{ inputs.version }}.zip" "$module_name"
90-
done
91-
env:
92-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93-
- name: "Upload Terraform module artifacts"
84+
- name: "Package and Upload Terraform modules"
9485
shell: bash
9586
env:
9687
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)