Skip to content

Commit 888ae78

Browse files
committed
netlify token fix 2
1 parent e520639 commit 888ae78

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ jobs:
55
Main:
66
name: Main
77
runs-on: ubuntu-latest
8+
env:
9+
NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }}
810
steps:
911
- uses: actions/checkout@v2
1012
- name: Log in to Docker Hub
@@ -18,13 +20,13 @@ jobs:
1820
with:
1921
images: joepmeneer/atomic-server
2022
github-token: ${{ secrets.GITHUB_TOKEN }}
21-
- name: Dagger CI
23+
- name: Call Dagger Function to build and publish to ghcr.io
2224
uses: dagger/[email protected]
2325
with:
2426
version: "latest"
2527
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
2628
verb: call
27-
args: ci --netlify-auth-token ${{ secrets.NETLIFY_AUTH_TOKEN }}
29+
args: ci --netlify-auth-token env://NETLIFY_TOKEN
2830
- name: Docker images
2931
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
3032
uses: dagger/[email protected]

0 commit comments

Comments
 (0)