Publishing staged changes #1

Open
timurgordon wants to merge 17 commits from development into main
2 changed files with 0 additions and 24 deletions
Showing only changes of commit b8850be903 - Show all commits

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'