We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a1c7e commit e4d7c94Copy full SHA for e4d7c94
1 file changed
.github/workflows/deploy-hostinger.yml
@@ -9,7 +9,19 @@ on:
9
jobs:
10
deploy:
11
runs-on: ubuntu-latest
12
+ environment: animai_secrets
13
steps:
14
+ - name: Check required deployment config
15
+ run: |
16
+ if [ -z "${{ secrets.HOSTINGER_API_KEY }}" ]; then
17
+ echo "HOSTINGER_API_KEY is missing from the active GitHub environment or repo secrets."
18
+ exit 1
19
+ fi
20
+ if [ -z "${{ vars.HOSTINGER_VM_ID }}" ]; then
21
+ echo "HOSTINGER_VM_ID is missing from repo/environment variables."
22
23
24
+
25
- uses: actions/checkout@v5
26
27
- name: Deploy to Hostinger
0 commit comments