From 398b36befbc3801898b4f39865dcbb42e93d8301 Mon Sep 17 00:00:00 2001 From: Nico Date: Wed, 26 Nov 2025 20:52:13 -0800 Subject: [PATCH] Fix tabbing --- .gitea/workflows/deploy.yml | 46 ++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index bbefdd7..ff5886a 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -105,27 +105,27 @@ jobs: docker image prune -f EOF - notify: - - name: Wait for ntfy service to be healthy - run: | - ssh -o StrictHostKeyChecking=no $SERVER_USER@$SERVER_IP ' - echo "Waiting for ntfy container..." - for i in {1..30}; do - STATUS=$(docker inspect --format="{{json .State.Health.Status }}" ntfy) - if [[ $STATUS == "\"healthy\"" ]]; then - echo "ntfy is healthy!" - exit 0 - fi - echo "ntfy not ready yet ($STATUS). Retrying..." - sleep 2 - done - echo "Error: ntfy did not become healthy in time." - exit 1 - ' - - - name: Notify ntfy - run: | - curl -d "🚀 Deployment successful: $IMAGE_NAME:$GITHUB_SHA" \ - https://ntfy.nicosaya.com/server-deploy + notify: + - name: Wait for ntfy service to be healthy + run: | + ssh -o StrictHostKeyChecking=no $SERVER_USER@$SERVER_IP ' + echo "Waiting for ntfy container..." + for i in {1..30}; do + STATUS=$(docker inspect --format="{{json .State.Health.Status }}" ntfy) + if [[ $STATUS == "\"healthy\"" ]]; then + echo "ntfy is healthy!" + exit 0 + fi + echo "ntfy not ready yet ($STATUS). Retrying..." + sleep 2 + done + echo "Error: ntfy did not become healthy in time." + exit 1 + ' + + - name: Notify ntfy + run: | + curl -d "🚀 Deployment successful: $IMAGE_NAME:$GITHUB_SHA" \ + https://ntfy.nicosaya.com/server-deploy - \ No newline at end of file + \ No newline at end of file