Skip to content

Commit 386b99f

Browse files
committed
Test new workflow
1 parent e4efeec commit 386b99f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: .github/workflows/static.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
with:
1919
fetch-depth: 0
2020

21+
- name: Checkout build branch
22+
run: |
23+
git checkout -b build || git checkout build
24+
git merge main --no-ff
25+
2126
- name: Set up Git
2227
run: |
2328
git config user.name 'github-actions'
@@ -32,7 +37,6 @@ jobs:
3237

3338
- name: Commit minified files to build branch
3439
run: |
35-
git checkout -b build || git checkout build
3640
git add .
3741
git commit -m "Minify HTML"
3842
git push origin build -f

0 commit comments

Comments
 (0)