From d63e7bd88f02cb47e7bfb67fd5944dc27ce19969 Mon Sep 17 00:00:00 2001 From: Matt DiMeglio Date: Wed, 11 Jun 2025 15:53:48 -0400 Subject: [PATCH] Update web-deploy-prod.yml --- .github/workflows/web-deploy-prod.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/web-deploy-prod.yml b/.github/workflows/web-deploy-prod.yml index e8d2645..4f6b9c7 100644 --- a/.github/workflows/web-deploy-prod.yml +++ b/.github/workflows/web-deploy-prod.yml @@ -73,17 +73,17 @@ jobs: run: docker build -f web/Dockerfile -t john4064/shiftsync:latest_web ./web --build-arg TEST=${{ secrets.TEST }} - name: Docker Push Backend run: docker push john4064/shiftsync:latest_web - # deploy: - # needs: build - # if: needs.build.result == 'success' && inputs.workflow_type == 'release' - # environment: ${{ inputs.environments }} - # runs-on: 'ubuntu-latest' - # permissions: - # contents: read - # packages: write - # steps: - # - name: Deploy to Coolify - # run: | - # echo ${{ inputs.workflow_type }} - # curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}' + deploy: + needs: build + if: needs.build.result == 'success' && inputs.workflow_type == 'release' + environment: ${{ inputs.environments }} + runs-on: 'ubuntu-latest' + permissions: + contents: read + packages: write + steps: + - name: Deploy to Coolify + run: | + echo ${{ inputs.workflow_type }} + curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'