Update tf_update.yml

This commit is contained in:
PeterNashaat 2022-09-28 14:37:34 +02:00 committed by GitHub
parent c0dd7799a7
commit 558a6985cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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