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