diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 00ca642..0ceb0fc 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -17,6 +17,19 @@ jobs: git-version: ["2.44.0"] runs-on: ${{ matrix.arch }} + # Services to run + services: + # Test Redis Server + redis: + image: redis + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 6379:6379 + # Steps to run steps: # Checkout the repo @@ -30,4 +43,4 @@ jobs: uses: dokku/github-action@master with: git_remote_url: "ssh://dokku@10.10.3.28:22/restfulmc" - ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} \ No newline at end of file