adding autodeployment

This commit is contained in:
Peter Nashaat 2022-10-25 11:24:57 +00:00
parent 5914cd11d8
commit 1d7d29d58d

View File

@ -10,12 +10,12 @@ jobs:
steps: steps:
- name: pushing latest change on event2.ourworld.tf - name: pushing latest change on event2.ourworld.tf
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
continue-on-error: true
with: with:
host: event2.ourworld.tf host: event2.ourworld.tf
username: webuser username: webuser
key: ${{ secrets.TF_SECRET }} key: ${{ secrets.TF_SECRET }}
port: 34022 port: 34022
continue-on-error: true
script: | script: |
cd /home/webuser/websites/www2/www_ourworld_ictc cd /home/webuser/websites/www2/www_ourworld_ictc
git log -1 git log -1