Skip to content

Commit a3c6883

Browse files
committed
Fix CI token
1 parent a9ac840 commit a3c6883

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.dagger/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ export class AtomicServer {
349349
const exitCode = await testResult.file("/test-exit-code").contents();
350350
if (exitCode.trim() !== "0") {
351351
throw new Error(
352-
`E2E tests failed (exit code: ${exitCode.trim()}). Test report deployed to: \n ${deployUrl}`
352+
`E2E tests failed (exit code: ${exitCode.trim()}). Test report deployed to: \n${deployUrl}`
353353
);
354354
}
355355

.github/workflows/dagger.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
permissions:
99
contents: read
1010
packages: write
11+
env:
12+
NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }}
1113
steps:
1214
- name: Checkout
1315
uses: actions/checkout@v4
@@ -16,5 +18,5 @@ jobs:
1618
with:
1719
version: "latest"
1820
verb: call
19-
args: ci --netlify-auth-token ${{ secrets.NETLIFY_TOKEN }}
21+
args: ci --netlify-auth-token env://NETLIFY_TOKEN
2022
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}

0 commit comments

Comments
 (0)