Compare commits
2 Commits
master
...
524a534e00
| Author | SHA1 | Date | |
|---|---|---|---|
| 524a534e00 | |||
| b2603fb5f5 |
@@ -17,7 +17,7 @@ jobs:
|
|||||||
APP_PORT: 8083
|
APP_PORT: 8083
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: |
|
run: |
|
||||||
@@ -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: 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: appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST_DEV }}
|
host: ${{ secrets.HOST_DEV }}
|
||||||
username: ${{ secrets.USER_DEV }}
|
username: ${{ secrets.USER_DEV }}
|
||||||
@@ -91,7 +91,7 @@ jobs:
|
|||||||
APP_PORT: 8083
|
APP_PORT: 8083
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: |
|
run: |
|
||||||
@@ -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: 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: appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST_PROD }}
|
host: ${{ secrets.HOST_PROD }}
|
||||||
username: ${{ secrets.USER_PROD }}
|
username: ${{ secrets.USER_PROD }}
|
||||||
|
|||||||
Reference in New Issue
Block a user