Skip to content

Commit dbab441

Browse files
committed
access github token via github instead of secrets
1 parent 140d80e commit dbab441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actions/deploy-reflex-backend/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ runs:
6767
with:
6868
registry: ghcr.io
6969
username: ${{ github.actor }}
70-
password: ${{ secrets.GITHUB_TOKEN }}
70+
password: ${{ github.token }}
7171

7272
- name: Set lower case owner name
7373
shell: bash
@@ -114,6 +114,6 @@ runs:
114114
key: ${{ inputs.ssh-private-key }}
115115
script: |
116116
# Log in to GitHub Container Registry
117-
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin && \
117+
echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin && \
118118
docker pull ghcr.io/${{ env.OWNER_LC }}/${{ inputs.site-name }}-backend:latest && \
119119
docker compose up -d

0 commit comments

Comments
 (0)