Skip to content

Commit 2485778

Browse files
committed
ci: fall back to GITHUB_TOKEN when GH_PAT unavailable
1 parent fb4ddd9 commit 2485778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
with:
3939
registry: ghcr.io
4040
username: ${{ github.actor }}
41-
password: ${{ secrets.GH_PAT }}
41+
password: ${{ secrets.GH_PAT || secrets.GITHUB_TOKEN }}
4242

4343
- name: Log in to Docker Hub
4444
uses: docker/login-action@v3

0 commit comments

Comments
 (0)