Update tf_update.yml

This commit is contained in:
PeterNashaat 2023-01-24 11:02:11 +02:00 committed by GitHub
parent 58b8453202
commit ae7d72a8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,13 +12,13 @@ jobs:
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: www.ourworld.tf host: www.ourworld.tf
username: root username: webuser
key: ${{ secrets.TF_SECRET }} key: ${{ secrets.TF_SECRET }}
port: 22 port: 34022
script: | script: |
cd /opt/www_ourworld_tf/ cd /home/webuser/websites/www_ourworld_tf/
git log -1 git log -1
git pull git pull
npm run build bash build