Update tf_update.yml
This commit is contained in:
parent
c0dd7799a7
commit
558a6985cf
8
.github/workflows/tf_update.yml
vendored
8
.github/workflows/tf_update.yml
vendored
@ -12,12 +12,12 @@ jobs:
|
|||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
with:
|
with:
|
||||||
host: www2.ourverse.tf
|
host: www2.ourverse.tf
|
||||||
username: root
|
username: webuser
|
||||||
key: ${{ secrets.TF_SECRET }}
|
key: ${{ secrets.TF_SECRET }}
|
||||||
port: 22
|
port: 34022
|
||||||
script: |
|
script: |
|
||||||
cd /opt/www_ourverse/
|
cd /home/webuser/websites/www2/www_ourverse/
|
||||||
git log -1
|
git log -1
|
||||||
git restore static/css/index.css
|
git restore static/css/index.css
|
||||||
git pull
|
git pull
|
||||||
npm run build
|
bash build.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user