We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4efeec commit 386b99fCopy full SHA for 386b99f
.github/workflows/static.yml
@@ -18,6 +18,11 @@ jobs:
18
with:
19
fetch-depth: 0
20
21
+ - name: Checkout build branch
22
+ run: |
23
+ git checkout -b build || git checkout build
24
+ git merge main --no-ff
25
+
26
- name: Set up Git
27
run: |
28
git config user.name 'github-actions'
@@ -32,7 +37,6 @@ jobs:
32
37
33
38
- name: Commit minified files to build branch
34
39
35
- git checkout -b build || git checkout build
36
40
git add .
41
git commit -m "Minify HTML"
42
git push origin build -f
0 commit comments