ci: use gitea.xxx
This commit is contained in:
parent
47ef28516b
commit
51c2d49d5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user