www_ourverse.tf/.github/workflows/tf_update.yml
2022-12-19 14:22:05 +02:00

23 lines
515 B
YAML

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