ci(other): update cicd
Some checks failed
CI Build & Deploy / build-and-deploy-dev (push) Failing after 11s
CI Build & Deploy / build-and-deploy-prod (push) Has been skipped

This commit is contained in:
2026-01-19 03:27:22 +08:00
parent cd65168378
commit b2603fb5f5

View File

@@ -36,7 +36,7 @@ jobs:
run: tar -zcf dist.tar ./dist ./default.conf ./Dockerfile run: tar -zcf dist.tar ./dist ./default.conf ./Dockerfile
- name: Upload to server - name: Upload to server
uses: https://gitea.com/appleboy/scp-action@v0.1.7 uses: docker://appleboy/scp-action:v0.1.7
with: with:
host: ${{ secrets.HOST_DEV }} host: ${{ secrets.HOST_DEV }}
username: ${{ secrets.USER_DEV }} username: ${{ secrets.USER_DEV }}
@@ -46,7 +46,7 @@ jobs:
target: /www/builder target: /www/builder
- name: Deploy - name: Deploy
uses: https://gitea.com/appleboy/ssh-action@v1.0.3 uses: docker://appleboy/ssh-action:v1.0.3
with: with:
host: ${{ secrets.HOST_DEV }} host: ${{ secrets.HOST_DEV }}
username: ${{ secrets.USER_DEV }} username: ${{ secrets.USER_DEV }}
@@ -110,7 +110,7 @@ jobs:
run: tar -zcf dist.tar ./dist ./default.conf ./Dockerfile run: tar -zcf dist.tar ./dist ./default.conf ./Dockerfile
- name: Upload to server - name: Upload to server
uses: https://gitea.com/appleboy/scp-action@v0.1.7 uses: docker://appleboy/scp-action:v0.1.7
with: with:
host: ${{ secrets.HOST_PROD }} host: ${{ secrets.HOST_PROD }}
username: ${{ secrets.USER_PROD }} username: ${{ secrets.USER_PROD }}
@@ -120,7 +120,7 @@ jobs:
target: /www/builder target: /www/builder
- name: Deploy - name: Deploy
uses: https://gitea.com/appleboy/ssh-action@v1.0.3 uses: docker://appleboy/ssh-action:v1.0.3
with: with:
host: ${{ secrets.HOST_PROD }} host: ${{ secrets.HOST_PROD }}
username: ${{ secrets.USER_PROD }} username: ${{ secrets.USER_PROD }}