This commit is contained in:
18
.gitea/workflows/on-push.yml
Normal file
18
.gitea/workflows/on-push.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: On Push Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: pusher
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- /root/repos:/repos
|
||||||
|
steps:
|
||||||
|
- name: Pull and maybe restart one day
|
||||||
|
run: |
|
||||||
|
ls
|
||||||
|
cd /root/repos/music-jeopardy
|
||||||
|
git pull
|
||||||
|
echo "TODO: add command"
|
||||||
Reference in New Issue
Block a user