Merge branch 'bugfix/code-change4john' of https://github.com/Doble-Technologies/ShiftSync-Website into bugfix/code-change4john

This commit is contained in:
Matt DiMeglio 2025-06-11 12:15:34 -04:00
commit 22b9953c87

View file

@ -15,9 +15,9 @@ on:
paths:
- web/**
jobs:
deploy:
build:
environment: dev
runs-on: ['self-hosted', 'pi']
runs-on: 'ubuntu-latest'
permissions:
contents: read
packages: write
@ -33,6 +33,15 @@ 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:
environment: dev
needs: build
if: always() && needs.build.result == 'success'
runs-on: 'ubuntu-latest'
permissions:
contents: read
packages: write
steps:
- name: Deploy to Coolify
run: |
curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'