fix:更新cicd

This commit is contained in:
Your Name 2026-06-22 16:13:48 +08:00
parent 89ec0abb68
commit 43f0891691

View File

@ -42,7 +42,7 @@ jobs:
needs: build-and-push needs: build-and-push
environment: environment:
name: production name: production
url: http://${{ vars.HOST }}:80 url: http://${{ vars.HOST }}:8080
steps: steps:
- name: Deploy via SSH - name: Deploy via SSH
uses: https://gitee.com/zsqai/ssh-action@v1.0.3 uses: https://gitee.com/zsqai/ssh-action@v1.0.3
@ -72,7 +72,7 @@ jobs:
docker run -d \ docker run -d \
--name web-01-api \ --name web-01-api \
--restart always \ --restart always \
-p 80:3003 \ -p 8080:3003 \
${{ vars.ALIYUN_REGISTRY }}/${{ vars.ALIYUN_NAMESPACE }}/${{ vars.ALIYUN_REPO }}:latest ${{ vars.ALIYUN_REGISTRY }}/${{ vars.ALIYUN_NAMESPACE }}/${{ vars.ALIYUN_REPO }}:latest
# 清理旧镜像 # 清理旧镜像