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"