Workflow: if-Conditions entfernt (forgejo-act evaluiert github.ref nicht)
Some checks failed
Deploy Marketing-Site / Build, Test und Deploy (push) Failing after 1m5s

This commit is contained in:
Pascal Oelmann 2026-05-05 02:17:33 +02:00
parent 07c62ecdb5
commit cacf38dc10

View file

@ -46,7 +46,6 @@ jobs:
run: apt-get update && apt-get install -y --no-install-recommends rsync openssh-client
- name: SSH-Key setzen
if: github.ref == 'refs/heads/main'
env:
SSH_KEY: ${{ secrets.MARKETING_SSH_KEY }}
HOST: ${{ secrets.MARKETING_HOST }}
@ -58,7 +57,6 @@ jobs:
ssh-keyscan -H "$HOST" >> ~/.ssh/known_hosts 2>/dev/null
- name: Rsync zu Marketing-VPS
if: github.ref == 'refs/heads/main'
run: |
rsync -avz --delete \
-e "ssh -i ~/.ssh/marketing -o StrictHostKeyChecking=yes" \
@ -66,7 +64,6 @@ jobs:
"${{ secrets.MARKETING_USER }}@${{ secrets.MARKETING_HOST }}:slimcore.io/"
- name: Deploy-Verifikation
if: github.ref == 'refs/heads/main'
run: |
sleep 3
STATUS=$(curl -sI https://slimcore.io/ | awk '/HTTP\//{print $2; exit}')