mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-12 09:24:24 -05:00
78ce220cf9
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
27 lines
711 B
YAML
27 lines
711 B
YAML
name: Upload Terraform infrastructure module
|
|
description: "Upload the Terraform infrastructure module as an artifact."
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Copy Terraform module
|
|
shell: bash
|
|
run: |
|
|
cp -r terraform/infrastructure terraform-module
|
|
|
|
- name: Zip terraform dir
|
|
shell: bash
|
|
run: |
|
|
zip -r terraform-module.zip terraform-module
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
|
|
with:
|
|
name: terraform-module
|
|
path: terraform-module.zip
|
|
|
|
- name: Cleanup Terraform module dir
|
|
shell: bash
|
|
run: |
|
|
rm -rf terraform-module terraform-module.zip
|