Update CI/CD
This commit is contained in:
14
.gitea/workspaces/deploy.yml
Normal file
14
.gitea/workspaces/deploy.yml
Normal file
@@ -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"
|
||||||
Reference in New Issue
Block a user