Skip to content

Commit fbe849e

Browse files
committed
try fix build and create pr
1 parent a5cb66f commit fbe849e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build-action.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,17 @@ jobs:
2020
- name: Checkout code
2121
uses: actions/checkout@v4
2222
with:
23-
ref: build-output-${{ github.run_id }}
23+
ref: main
2424

2525
- name: Install dependencies
2626
run: npm install
2727

2828
- name: Install ncc
2929
run: npm install -g @vercel/ncc
3030

31-
- name: Build project
32-
run: npm run build
33-
34-
- name: Create a new branch
31+
- name: Build project & Create a new branch
3532
run: |
33+
npm run build
3634
git config --global user.name "github-actions[bot]"
3735
git config --global user.email "github-actions[bot]@users.noreply.github.com"
3836
git checkout -b build-output-${{ github.run_id }}

0 commit comments

Comments
 (0)