fix working dir
This commit is contained in:
parent
84e787a422
commit
694a155461
1 changed files with 6 additions and 3 deletions
|
|
@ -8,6 +8,9 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: roadrunner
|
||||
defaults:
|
||||
run:
|
||||
working-directory: blog/
|
||||
# Läuft im Podman-Container (node:22-bookworm)
|
||||
steps:
|
||||
- name: Repository auschecken
|
||||
|
|
@ -53,9 +56,9 @@ jobs:
|
|||
|
||||
- name: HTTPS-Erreichbarkeit prüfen
|
||||
run: |
|
||||
HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://app.deine-domain.de)
|
||||
HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://blauwasser-mausis.de.de)
|
||||
if [ "$HTTP_STATUS" -eq 200 ]; then
|
||||
echo "✅ App erreichbar unter https://app.deine-domain.de (HTTP $HTTP_STATUS)"
|
||||
echo "✅ App erreichbar unter https://blauwasser-mausis.de.de (HTTP $HTTP_STATUS)"
|
||||
else
|
||||
echo "❌ App antwortet mit HTTP $HTTP_STATUS"
|
||||
exit 1
|
||||
|
|
@ -63,7 +66,7 @@ jobs:
|
|||
|
||||
- name: TLS-Zertifikat prüfen
|
||||
run: |
|
||||
EXPIRY=$(echo | openssl s_client -connect app.deine-domain.de:443 \
|
||||
EXPIRY=$(echo | openssl s_client -connect blauwasser-mausis.de:443 \
|
||||
-servername app.deine-domain.de 2>/dev/null \
|
||||
| openssl x509 -noout -enddate 2>/dev/null \
|
||||
| cut -d= -f2)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue