Skip to content

Commit 1f87ce6

Browse files
ci: correct deployment token
1 parent eb59b10 commit 1f87ce6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
with:
3333
submodules: recursive
3434
fetch-depth: 0
35+
token: ${{ secrets.DEPLOYMENT_TOKEN }}
3536
- name: Setup Node.js
3637
uses: actions/setup-node@v3
3738
with:
@@ -61,7 +62,7 @@ jobs:
6162
with:
6263
registry: ${{ env.REGISTRY }}
6364
username: ${{ github.actor }}
64-
password: ${{ secrets.DEPLOYMENT_TOKEN }}
65+
password: ${{ secrets.GITHUB_TOKEN }}
6566
- id: full-image-name
6667
run: echo "image-name=${{env.REGISTRY}}/${{env.IMAGE_NAME}}" | tr '[:upper:]' '[:lower:]' >> $GITHUB_OUTPUT
6768
- name: Build and push the image to GitHub Container registry

0 commit comments

Comments
 (0)