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