From 10b3a80a75e89cca40131765d19fa0d6adec15b8 Mon Sep 17 00:00:00 2001 From: doras-to-admin <155006167+doras-to-admin@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:14:52 +0100 Subject: [PATCH] Update docker-build.yml --- .github/workflows/docker-build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 150e637..eadbc2e 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -3,7 +3,7 @@ name: Build Docker Image on: push: branches: - - "*" + - main tags: - "v*" @@ -20,3 +20,6 @@ jobs: uses: KuhlTime/ghcr-action@v1 with: token: ${{ secrets.PAT_TOKEN }} + - name: Trigger Coolify deployment + run: | + curl --request GET '${{ secrets.COOLIFY_DISCORDBOT_DEPLOY }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_DEPLOY_DISCORDBOT }}'