name: Deploy Timelapse on: push: branches: - main jobs: deploy_timelapse: runs-on: ubuntu-latest steps: - name: Execute update_timelapse script run: ssh kerboul@192.168.1.87 "cd /home/kerboul/scripts/timelapse && ./update_timelapse.sh -o"