diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..85c8fd4 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,18 @@ +name: Deploy to Production +run-name: Deploy to Production by @${{ github.actor }} + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: self-hosted + steps: + - name: Check out repository code + uses: actions/checkout@v4 + + - name: Build and deploy with Docker Compose + run: | + docker compose up -d --build