diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..e033d6f --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: + - master + + pull_request: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + with: + submodules: true + + - name: Install Docker + run: curl -fsSL https://get.docker.com | sh + + - name: Deploy with Docker + run: docker compose up --build -d + diff --git a/docker-compose.yml b/docker-compose.yml index 07e79de..f47694b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,5 @@ services: - traefik.enable=true - traefik.http.routers.hfbz-nginx.rule=HostRegexp(`^(www\.)?xn--fiqa592br0dm3gfp6c\.com$`) - traefik.http.routers.hfbz-nginx.entrypoints=web,websecure - - traefik.http.routers.hfbz-nginx.tls.certresolver=letsencrypt networks: - traefik