Skip to content

Commit 6da5e7b

Browse files
committed
used secrets instead of vars
1 parent c241598 commit 6da5e7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ jobs:
66
runs-on: ubuntu-latest
77
environment:
88
name: github-pages
9-
env:
10-
DIRECTUS_TOKEN: ${{ vars.DIRECTUS_TOKEN }}
119
steps:
1210
- name: Checkout
1311
uses: actions/checkout@v4
@@ -42,6 +40,8 @@ jobs:
4240
- name: build
4341
run: |
4442
pnpm run build
43+
with:
44+
DIRECTUS_TOKEN: ${{ secrets.DIRECTUS_TOKEN }}
4545

4646
- name: Upload Artifacts
4747
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)