Update tf_update.yml

This commit is contained in:
PeterNashaat 2022-10-12 17:04:55 +02:00 committed by GitHub
parent 91377075d8
commit 83763a8875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,22 @@
name: nomads.ourworld.tf name: ourverse.tf
on: on:
push: push:
branch: [ development ] branch: [development]
jobs: jobs:
job_one: job_one:
name: Deploy name: Deploy
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: pushing latest change on nomads.ourworld.tf - name: pushing latest change on www2.ourverse.tf
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: nomads.ourworld.tf host: www2.ourverse.tf
username: webuser username: webuser
key: ${{ secrets.TF_SECRET }} key: ${{ secrets.TF_SECRET }}
port: 34022 port: 34022
script: | script: |
cd /home/webuser/websites/www2/www_ournomads/ cd /home/webuser/websites/www2/nomads.ourworld.tf/
git log -1 git log -1
git pull git pull
bash build.sh bash build.sh