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