work on ci
This commit is contained in:
parent
035bec9ec7
commit
9cb90a602a
|
@ -30,7 +30,7 @@ jobs:
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
key: ${{ secrets.KEY }}
|
key: ${{ secrets.KEY }}
|
||||||
source: "account.tar.gz"
|
source: "account.tar.gz"
|
||||||
target: apps/live
|
target: "."
|
||||||
- name: executing remote ssh commands using password
|
- name: executing remote ssh commands using password
|
||||||
uses: appleboy/ssh-action@v1.0.0
|
uses: appleboy/ssh-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
|
@ -38,4 +38,7 @@ jobs:
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
key: ${{ secrets.KEY }}
|
key: ${{ secrets.KEY }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
script: touch ciwuzhere2.txt
|
script: |
|
||||||
|
rm -rf apps/live/account
|
||||||
|
tar -xzf account.tar.gz -C ~/apps/live
|
||||||
|
rm account.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue