Skip to content

Commit a909e9f

Browse files
authored
Merge pull request #8 from digitalocean/use-tf-module-library
pass secret to integration test job
2 parents f33dc32 + 235ba54 commit a909e9f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/globally-load-balanced-integration-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
with:
1111
module_path: reference-architectures/globally-load-balanced-web-servers
1212
secrets:
13-
TEST_DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.TEST_DIGITALOCEAN_ACCESS_TOKEN }}
13+
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.TEST_DIGITALOCEAN_ACCESS_TOKEN }}

.github/workflows/workflow-terraform-integration-test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ on:
66
module_path:
77
required: true
88
type: string
9+
secrets:
10+
DIGITALOCEAN_ACCESS_TOKEN:
11+
required: true
912

1013
jobs:
1114
integration-test:
1215
runs-on: ubuntu-latest
1316
env:
14-
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.TEST_DIGITALOCEAN_ACCESS_TOKEN }}
17+
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
1518
steps:
1619
- uses: actions/checkout@v4
1720
- uses: actions/setup-go@v5

0 commit comments

Comments
 (0)