fixing issue

This commit is contained in:
Peter Nashaat 2022-10-25 12:56:45 +00:00
parent f7eabe5c7e
commit b8850be903
2 changed files with 0 additions and 24 deletions

View File

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

View File

@ -1,2 +0,0 @@
tmux kill-session -t www_ourworld_ictc > /dev/null 2>&1
tmux new-session -d -s www_ourworld_ictc 'bash run.sh'