ci(build): fix force build
This commit is contained in:
parent
3f6f23e4a5
commit
69b2115a73
|
@ -63,12 +63,11 @@ jobs:
|
|||
- name: Clone, Commit and Push
|
||||
shell: bash
|
||||
run: |
|
||||
COMMIT_MSG=${{ github.event.head_commit.message }}
|
||||
git clone ssh://git@focs.ji.sjtu.edu.cn:2222/JOJ/runner-images.git runner-images
|
||||
cd runner-images
|
||||
if echo "$COMMIT_MSG" | grep -qi "force build"; then
|
||||
git commit --allow-empty -m "chore: trigger force build gitea actions by JOJ3"
|
||||
if echo "${{ github.event.head_commit.message }}" | grep -q "force build"; then
|
||||
git commit --allow-empty -m "chore: trigger force build gitea actions by JOJ3"
|
||||
else
|
||||
git commit --allow-empty -m "chore: trigger gitea actions by JOJ3"
|
||||
git commit --allow-empty -m "chore: trigger gitea actions by JOJ3"
|
||||
fi
|
||||
git push
|
||||
|
|
Loading…
Reference in New Issue
Block a user