diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..df15692 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,25 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + + container: + volumes: + - /opt:/opt + + steps: + - name: Deploy + run: | + cd /opt/xbid + + git pull + + docker compose up -d --build + + docker image prune -f