This commit is contained in:
30
.gitea/workflows/on-push.yml
Normal file
30
.gitea/workflows/on-push.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
name: On Push Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: docker
|
||||
container:
|
||||
volumes:
|
||||
- /root/docker:/docker
|
||||
steps:
|
||||
- name: Something else else
|
||||
run: |
|
||||
ls
|
||||
ls -la
|
||||
- name: Something else
|
||||
run: |
|
||||
cd
|
||||
ls -la
|
||||
- name: Something else
|
||||
run: |
|
||||
cd /root/docker
|
||||
ls -la
|
||||
- name: Pull and run command on server
|
||||
run: |
|
||||
ls
|
||||
cd /root/docker/gitea-setup
|
||||
git pull
|
||||
echo "TODO: add command"
|
||||
Reference in New Issue
Block a user