Skip to content

Commit eb59b10

Browse files
ci: change gihub token with deployment token
1 parent ea5ed12 commit eb59b10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
node-version: "lts/*"
3939
- name: Release
4040
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GITHUB_TOKEN: ${{ secrets.DEPLOYMENT_TOKEN }}
4242
run: |
4343
npm install
4444
npx semantic-release
@@ -61,7 +61,7 @@ jobs:
6161
with:
6262
registry: ${{ env.REGISTRY }}
6363
username: ${{ github.actor }}
64-
password: ${{ secrets.GITHUB_TOKEN }}
64+
password: ${{ secrets.DEPLOYMENT_TOKEN }}
6565
- id: full-image-name
6666
run: echo "image-name=${{env.REGISTRY}}/${{env.IMAGE_NAME}}" | tr '[:upper:]' '[:lower:]' >> $GITHUB_OUTPUT
6767
- name: Build and push the image to GitHub Container registry

0 commit comments

Comments
 (0)