push version #8
2 changed files with 26 additions and 26 deletions
26
.github/workflows/web-deploy-nonprod.yml
vendored
26
.github/workflows/web-deploy-nonprod.yml
vendored
|
|
@ -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 }}'
|
||||
|
||||
|
|
|
|||
26
.github/workflows/web-deploy-prod.yml
vendored
26
.github/workflows/web-deploy-prod.yml
vendored
|
|
@ -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 }}'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue