From 75b67b2c144e7a5a9139dad14b1e2560261c75d1 Mon Sep 17 00:00:00 2001 From: Cyper Date: Fri, 20 Jun 2025 17:23:21 -0400 Subject: [PATCH] nodeploy: Switched to action repo --- .gitea/workflows/deploy.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 54d0ffe..a3cdb2a 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -11,15 +11,9 @@ jobs: steps: - name: Skip deployment if commit starts with "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 + uses: Cyper/GiteaActions/skip-if-commit-prefix@main + with: + prefix: nodeploy - name: Checkout code if: env.should_deploy == 'true'