This commit is contained in:
17
.gitea/workflows/deploy.yml
Normal file
17
.gitea/workflows/deploy.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Build and deploy palace
|
||||||
|
run: |
|
||||||
|
docker compose -f /home/debian/my-services/docker-compose.yml build --no-cache palace
|
||||||
|
docker compose -f /home/debian/my-services/docker-compose.yml up -d --no-deps palace
|
||||||
|
|
||||||
|
- name: Cleanup old images
|
||||||
|
run: docker image prune -f
|
||||||
Reference in New Issue
Block a user