ci(other): update cicd
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
||||
run: tar -zcf dist.tar ./dist ./default.conf ./Dockerfile
|
||||
|
||||
- name: Upload to server
|
||||
uses: https://gitea.com/appleboy/scp-action@v0.1.7
|
||||
uses: docker://appleboy/scp-action:v0.1.7
|
||||
with:
|
||||
host: ${{ secrets.HOST_DEV }}
|
||||
username: ${{ secrets.USER_DEV }}
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
target: /www/builder
|
||||
|
||||
- name: Deploy
|
||||
uses: https://gitea.com/appleboy/ssh-action@v1.0.3
|
||||
uses: docker://appleboy/ssh-action:v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.HOST_DEV }}
|
||||
username: ${{ secrets.USER_DEV }}
|
||||
@@ -110,7 +110,7 @@ jobs:
|
||||
run: tar -zcf dist.tar ./dist ./default.conf ./Dockerfile
|
||||
|
||||
- name: Upload to server
|
||||
uses: https://gitea.com/appleboy/scp-action@v0.1.7
|
||||
uses: docker://appleboy/scp-action:v0.1.7
|
||||
with:
|
||||
host: ${{ secrets.HOST_PROD }}
|
||||
username: ${{ secrets.USER_PROD }}
|
||||
@@ -120,7 +120,7 @@ jobs:
|
||||
target: /www/builder
|
||||
|
||||
- name: Deploy
|
||||
uses: https://gitea.com/appleboy/ssh-action@v1.0.3
|
||||
uses: docker://appleboy/ssh-action:v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.HOST_PROD }}
|
||||
username: ${{ secrets.USER_PROD }}
|
||||
|
||||
Reference in New Issue
Block a user