From ea4a4c805a5ca550cb11016ccb8d8194a87330f8 Mon Sep 17 00:00:00 2001 From: Cyper Date: Sat, 5 Jul 2025 20:47:11 -0400 Subject: [PATCH] Reverting separate repository for deployment changes --- .gitea/workflows/deploy.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index a3cdb2a..54d0ffe 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -11,9 +11,15 @@ jobs: steps: - name: Skip deployment if commit starts with "nodeploy" - uses: Cyper/GiteaActions/skip-if-commit-prefix@main - with: - prefix: nodeploy + id: skip_check + run: | + COMMIT_MSG="${{ event.head_commit.message }}" + echo "Commit message: $COMMIT_MSG" + if [[ "$COMMIT_MSG" == nodeploy* ]]; then + echo "should_deploy=false" >> $GITHUB_ENV + else + echo "should_deploy=true" >> $GITHUB_ENV + fi - name: Checkout code if: env.should_deploy == 'true'