Skip to content

Commit 52d729a

Browse files
committed
Fix a bug for the ref error in the workflow
1 parent c6848be commit 52d729a

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/build_icons.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
name: Build Icons
2-
on:
3-
push:
4-
branches:
5-
- master
6-
pull_request:
7-
branches:
8-
- master
2+
on: push
93
jobs:
104
build:
115
name: Get Fonts From Icomoon
126
runs-on: windows-2019
137
steps:
148
- uses: actions/checkout@v2
9+
with:
10+
ref: ${{ github.head_ref }}
1511
- name: Set up Python 3.8
1612
uses: actions/setup-python@v2
1713
with:
@@ -29,5 +25,4 @@ jobs:
2925
uses: stefanzweifel/git-auto-commit-action@v4
3026
with:
3127
commit_message: Built new icons, icomoon.json and devicon.css
32-
branch: build-integrate
33-
ref: ${{ github.head_ref }}
28+
branch: action-fix

0 commit comments

Comments
 (0)