From d18b0e9ff4bebce444834ce60be79d4e8cd66198 Mon Sep 17 00:00:00 2001 From: ringsaturn Date: Wed, 3 Apr 2024 08:42:22 +0800 Subject: [PATCH] Auto deploy --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ee246e..15bc716 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,3 +50,14 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max + + + deploy: + if: ${{ startsWith(github.ref, 'refs/tags/') }} + needs: [build-image] + runs-on: ubuntu-latest + environment: + name: render + url: "https://tzf-server.ringsaturn.me" + steps: + - run: curl "${{ secrets.RENDER_DEPLOY_HOOK }}"