Skip to content

Deploy to Hostinger #26

Deploy to Hostinger

Deploy to Hostinger #26

Workflow file for this run

name: Deploy to Hostinger
on:
workflow_run:
workflows:
- "Build & Test"
branches:
- main
types:
- completed
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Trigger Hostinger Deploy Webhook
run: |
curl --fail --show-error -X POST "${{ secrets.HOSTINGER_WEBHOOK_URL }}" \
-H "Content-Type: application/json"