From 51c2d49d5bbb5a71b9dddedf0aaf8a82a7dcff1c Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Thu, 5 Jun 2025 06:29:00 -0400 Subject: [PATCH] ci: use gitea.xxx --- .gitea/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 20864a8..babfb8c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -34,7 +34,7 @@ jobs: trigger-build-image: runs-on: ubuntu-latest needs: build - if: github.ref == 'refs/heads/master' + if: gitea.ref == 'refs/heads/master' steps: - name: Set up SSH run: | @@ -56,9 +56,9 @@ jobs: cd runner-images git submodule update --init --remote --force git add -A - if echo "${{ github.event.head_commit.message }}" | grep -q "force build"; then - git commit --allow-empty -m "chore: ${{ github.repository }}@${{ github.sha }} trigger force build gitea actions" + if echo "${{ gitea.event.head_commit.message }}" | grep -q "force build"; then + git commit --allow-empty -m "chore: ${{ gitea.repository }}@${{ gitea.sha }} trigger force build gitea actions" else - git commit --allow-empty -m "chore: ${{ github.repository }}@${{ github.sha }} trigger build gitea actions" + git commit --allow-empty -m "chore: ${{ gitea.repository }}@${{ gitea.sha }} trigger build gitea actions" fi git push