Skip to content

Commit 4101468

Browse files
author
Robert Chu
committed
Fixes github actions.
1 parent e604522 commit 4101468

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,19 @@ jobs:
9191

9292
- name: Setup Terraform tfvars
9393
uses: nowactions/envsubst@v1
94-
working-directory: ./examples/aws
9594
with:
96-
input: ./example.tfvars
97-
output: ./terraform.tfvars
95+
input: ./examples/aws/example.tfvars
96+
output: ./examples/aws/terraform.tfvars
9897
env:
9998
DNS_SUBDOMAIN: ${{secrets.DNS_SUBDOMAIN}}
10099
DNS_ZONE_ID: ${{secrets.DNS_ZONE_ID}}
101100

102101
- name: Setup Terraform
103-
working-directory: ./examples/aws
104102
uses: hashicorp/setup-terraform@v1
105103

106104
# - name: Terraform Format
107105
# id: fmt
106+
# working-directory: ./examples/aws
108107
# run: terraform fmt -check
109108

110109
- name: Terraform Init
@@ -120,7 +119,6 @@ jobs:
120119
continue-on-error: true
121120

122121
- uses: actions/github-script@v3
123-
working-directory: ./examples/aws
124122
if: github.event_name == 'pull_request'
125123
env:
126124
PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
@@ -167,20 +165,19 @@ jobs:
167165

168166
- name: Setup Terraform tfvars
169167
uses: nowactions/envsubst@v1
170-
working-directory: ./examples/azure
171168
with:
172-
input: ./example.tfvars
173-
output: ./terraform.tfvars
169+
input: ./examples/azure/example.tfvars
170+
output: ./examples/azure/terraform.tfvars
174171
env:
175172
DNS_SUBDOMAIN: ${{secrets.DNS_SUBDOMAIN}}
176173
DNS_ZONE_NAME: ${{secrets.DNS_ZONE_NAME}}
177174

178175
- name: Setup Terraform
179-
working-directory: ./examples/azure
180176
uses: hashicorp/setup-terraform@v1
181177

182178
# - name: Terraform Format
183179
# id: fmt
180+
# working-directory: ./examples/azure
184181
# run: terraform fmt -check
185182

186183
- name: Terraform Init
@@ -196,7 +193,6 @@ jobs:
196193
continue-on-error: true
197194

198195
- uses: actions/github-script@v3
199-
working-directory: ./examples/azure
200196
if: github.event_name == 'pull_request'
201197
env:
202198
PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
@@ -231,4 +227,3 @@ jobs:
231227
working-directory: ./examples/azure
232228
if: (github.event_name == 'release') || (github.event_name == 'push' && github.ref == 'refs/heads/main')
233229
run: terraform apply -auto-approve
234-

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from distutils.core import setup
33

44
setup(
5-
name="script_runner",
5+
name="script-runner-api",
66
packages=[
77
"script_runner",
88
"script_runner.api",

0 commit comments

Comments
 (0)