Skip to content

Commit 6c5b40f

Browse files
author
Chu Fan
committed
feat(ci): update secrets
1 parent a9d6b0d commit 6c5b40f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
docker version
4040
echo "-----------Docker Login-----------"
41-
docker login --username=${{ env.UserName }} --password=${{ secrets.Docker_Password }} ${{env.REGISTRY}}
41+
docker login --username=${{ env.UserName }} --password=${{ secrets.DOCKER_PASSWORD }} ${{env.REGISTRY}}
4242
4343
- name: PNPM Install
4444
uses: pnpm/action-setup@v2

.github/workflows/esc-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
- name: Pull Image And Update ESC
3737
uses: appleboy/ssh-action@master
3838
with:
39-
host: ${{ secrets.Server_Host }}
40-
port: ${{ secrets.Server_Port }}
41-
username: ${{ secrets.Server_UserName }}
42-
password: ${{ secrets.Server_Password }}
39+
host: ${{ secrets.SERVER_HOST }}
40+
port: ${{ secrets.SERVER_PORT }}
41+
username: ${{ secrets.SERVER_USERNAME }}
42+
password: ${{ secrets.SERVER_PASSWORD }}
4343
script: |
4444
docker images
4545
echo "-----------正在运行的服务--------"

0 commit comments

Comments
 (0)