Update build.yml
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -29,12 +29,12 @@ jobs:
|
|||||||
password: ${{ secrets.SSH_PASSWORD }}
|
password: ${{ secrets.SSH_PASSWORD }}
|
||||||
port: ${{ secrets.SSH_PORT }}
|
port: ${{ secrets.SSH_PORT }}
|
||||||
source: "index.tar"
|
source: "index.tar"
|
||||||
target: "/www/wwwroot/celess.cn"
|
target: "/www/wwwroot/www.celess.cn"
|
||||||
|
|
||||||
- name: Run SSH command
|
- name: Run SSH command
|
||||||
uses: garygrossgarten/github-action-ssh@v0.5.0
|
uses: garygrossgarten/github-action-ssh@v0.5.0
|
||||||
with:
|
with:
|
||||||
command: cd /www/wwwroot/celess.cn && bash deploy.sh
|
command: cd /www/wwwroot/www.celess.cn && bash deploy.sh
|
||||||
host: ${{ secrets.SSH_HOST }}
|
host: ${{ secrets.SSH_HOST }}
|
||||||
username: ${{ secrets.SSH_USERNAME }}
|
username: ${{ secrets.SSH_USERNAME }}
|
||||||
password: ${{ secrets.SSH_PASSWORD }}
|
password: ${{ secrets.SSH_PASSWORD }}
|
||||||
|
|||||||
Reference in New Issue
Block a user