Update web-deploy-prod.yml

This commit is contained in:
Matt DiMeglio 2025-06-11 15:53:48 -04:00 committed by GitHub
parent f81dc9e789
commit d63e7bd88f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}'