Skip to content

Commit 31410ba

Browse files
ci: 临时引导推送 #25 bundle
1 parent ab0d4d9 commit 31410ba

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: bootstrap-push
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
apply-bundle:
12+
if: github.event.head_commit.message == 'ci: 临时引导推送 #25 bundle'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
- name: Apply prebuilt main bundle
19+
run: |
20+
set -euxo pipefail
21+
curl -fsSL -o /tmp/lumendb.bundle 'https://aka.doubaocdn.com/s/mEhz6VZV2V'
22+
git bundle verify /tmp/lumendb.bundle
23+
git fetch /tmp/lumendb.bundle main:refs/remotes/bundle/main
24+
git push --force origin refs/remotes/bundle/main:refs/heads/main

0 commit comments

Comments
 (0)