-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add inputs prefix to workflow input usage
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,10 +19,10 @@ jobs: | |
- name: Create file for space | ||
run : | | ||
cat > ${{ github.actor }}.software-engineer.space.tf << EOF | ||
module "${{ dns_prefix }}" { | ||
module "${{ inputs.dns_prefix }}" { | ||
source = "./modules/software-engineer-space" | ||
github_handle = "${{ github.actor }}" | ||
domain_prefix = "${{ dns_prefix }}" | ||
domain_prefix = "${{ inputs.dns_prefix }}" | ||
cloudflare_zone_id = cloudflare_zone.software-engineer-space.id | ||
providers = { | ||
|
@@ -36,7 +36,7 @@ jobs: | |
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add ${{ github.actor }}.software-engineer.space.tf | ||
git commit -am "Add space for ${{ github.actor }} as ${{ dns_prefix }}.software-engineer.space.tf" | ||
git commit -am "Add space for ${{ github.actor }} as ${{ inputs.dns_prefix }}.software-engineer.space.tf" | ||
git push | ||
- name: Run terraform | ||
run: | | ||
|