ci: use gitea.xxx
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
submodules sync / sync (push) Has been cancelled

This commit is contained in:
张泊明518370910136 2025-06-05 06:29:00 -04:00
parent 47ef28516b
commit 51c2d49d5b
GPG Key ID: D47306D7062CDA9D

View File

@ -34,7 +34,7 @@ jobs:
trigger-build-image: trigger-build-image:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
if: github.ref == 'refs/heads/master' if: gitea.ref == 'refs/heads/master'
steps: steps:
- name: Set up SSH - name: Set up SSH
run: | run: |
@ -56,9 +56,9 @@ jobs:
cd runner-images cd runner-images
git submodule update --init --remote --force git submodule update --init --remote --force
git add -A git add -A
if echo "${{ github.event.head_commit.message }}" | grep -q "force build"; then if echo "${{ gitea.event.head_commit.message }}" | grep -q "force build"; then
git commit --allow-empty -m "chore: ${{ github.repository }}@${{ github.sha }} trigger force build gitea actions" git commit --allow-empty -m "chore: ${{ gitea.repository }}@${{ gitea.sha }} trigger force build gitea actions"
else 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 fi
git push git push