Compare commits
2 Commits
e8228968a3
...
df87c0b983
| Author | SHA1 | Date | |
|---|---|---|---|
|
df87c0b983
|
|||
|
f74d197e8d
|
14
.gitea/workflows/deploy.yaml
Normal file
14
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
name: Deploy homelab
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
name: Deploy
|
||||||
|
runs-on: homelab
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
cd /home/matthew/homelab
|
||||||
|
docker compose up -d --remove-orphans
|
||||||
@@ -11,7 +11,7 @@ runner:
|
|||||||
# Where to store the registration result.
|
# Where to store the registration result.
|
||||||
file: .runner
|
file: .runner
|
||||||
# Execute how many tasks concurrently at the same time.
|
# Execute how many tasks concurrently at the same time.
|
||||||
capacity: 20
|
capacity: 1
|
||||||
# Extra environment variables to run jobs.
|
# Extra environment variables to run jobs.
|
||||||
envs:
|
envs:
|
||||||
# Extra environment variables to run jobs from a file.
|
# Extra environment variables to run jobs from a file.
|
||||||
|
|||||||
Reference in New Issue
Block a user