feat(dash): improved frontend dashboard #6
@@ -95,3 +95,20 @@ jobs:
|
|||||||
- name: Run tests (web)
|
- name: Run tests (web)
|
||||||
run: cargo test --features web --no-default-features
|
run: cargo test --features web --no-default-features
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
# Stage 3: Deploy (only after tests pass, only on main)
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
deploy:
|
||||||
|
name: Deploy
|
||||||
|
runs-on: docker
|
||||||
|
needs: [test]
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
steps:
|
||||||
|
- name: Trigger Coolify deploy
|
||||||
|
run: |
|
||||||
|
apk add --no-cache curl
|
||||||
|
curl -sf "${{ secrets.COOLIFY_WEBHOOK }}" \
|
||||||
|
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user