File tree Expand file tree Collapse file tree
infrastructure/modules/eventpub Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Github Release Created
22
33on :
4- release :
5- types : ["published"] # Inherits all input defaults
4+ # release:
5+ # types: ["published"] # Inherits all input defaults
6+ push :
7+ branches :
8+ - feature/CCM-11751_eventpub_fix
69
710concurrency :
811 group : ${{ github.workflow }}-${{ github.ref }}
3134 echo "Zipping contents of $module_name..."
3235 (cd "$module_name" && zip -r "$ARTIFACTS_DIR/terraform-${module_name}.zip" .)
3336 echo "Publishing $module_name module..."
34- gh release upload ${{ github.event.release.tag_name }} "$ARTIFACTS_DIR/terraform-${module_name}.zip" --clobber
37+ gh release upload v2.0.21 "$ARTIFACTS_DIR/terraform-${module_name}.zip" --clobber
3538 done
3639 env :
3740 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11resource "archive_file" "lambda" {
22 type = " zip"
3- source_dir = " ${ path . module } /../../../lambda/eventpub/src"
3+ source_dir = " ${ abspath ( " ${ path . module } /../../../lambda/eventpub/src" ) } "
44
55 # Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39
6- output_path = " ${ path . module } /../../../lambda/eventpub_${ timestamp ()} .zip"
6+ output_path = " ${ abspath ( " ${ path . module } /../../../lambda/eventpub_${ timestamp ()} .zip" ) } "
77 excludes = [
88 # NodeJS Exclusions
99 " **/__tests__" ,
You can’t perform that action at this time.
0 commit comments