From d6173b9fdd2b45aca9d23acd668e3eb30ff3c5e9 Mon Sep 17 00:00:00 2001 From: Kerboul Date: Wed, 11 Dec 2024 13:32:16 +0100 Subject: [PATCH] Update CI/CD --- .gitea/workspaces/deploy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workspaces/deploy.yml diff --git a/.gitea/workspaces/deploy.yml b/.gitea/workspaces/deploy.yml new file mode 100644 index 0000000..e215730 --- /dev/null +++ b/.gitea/workspaces/deploy.yml @@ -0,0 +1,14 @@ +name: Deploy Timelapse + +on: + push: + branches: + - main + +jobs: + deploy_timelapse: + runs-on: ubuntu-latest + if: github.actor == 'runner_cynosure' + steps: + - name: Execute update_timelapse script + run: ssh kerboul@172.17.0.1 "cd /home/kerboul/scripts/timelapse && ./update_timelapse.sh -o" \ No newline at end of file