Update tf_update.yml
This commit is contained in:
parent
c408b816cc
commit
32e6887b81
8
.github/workflows/tf_update.yml
vendored
8
.github/workflows/tf_update.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: ourparadise.ourworld.tf
|
name: zanzibar.ourworld.tf
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branch: [main]
|
branch: [main]
|
||||||
@ -8,15 +8,15 @@ jobs:
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: pushing latest change on ourparadise.ourworld.tf
|
- name: pushing latest change on zanzibar.ourworld.tf
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
with:
|
with:
|
||||||
host: ourparadise.ourworld.tf
|
host: zanzibar.ourworld.tf
|
||||||
username: webuser
|
username: webuser
|
||||||
key: ${{ secrets.TF_SECRET }}
|
key: ${{ secrets.TF_SECRET }}
|
||||||
port: 34022
|
port: 34022
|
||||||
script: |
|
script: |
|
||||||
cd websites/www_ourparadise/
|
cd websites/www_ourparadise_new/
|
||||||
git log -1
|
git log -1
|
||||||
git restore .
|
git restore .
|
||||||
git pull
|
git pull
|
||||||
|
Reference in New Issue
Block a user