From 52d729a49b8127e6a29e8953d99ad9de1fa84697 Mon Sep 17 00:00:00 2001 From: Thomas Bui Date: Wed, 2 Sep 2020 23:13:35 -0700 Subject: [PATCH] Fix a bug for the ref error in the workflow --- .github/workflows/build_icons.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_icons.yml b/.github/workflows/build_icons.yml index c1762f6b..dc2429dd 100644 --- a/.github/workflows/build_icons.yml +++ b/.github/workflows/build_icons.yml @@ -1,17 +1,13 @@ name: Build Icons -on: - push: - branches: - - master - pull_request: - branches: - - master +on: push jobs: build: name: Get Fonts From Icomoon runs-on: windows-2019 steps: - uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} - name: Set up Python 3.8 uses: actions/setup-python@v2 with: @@ -29,5 +25,4 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: Built new icons, icomoon.json and devicon.css - branch: build-integrate - ref: ${{ github.head_ref }} + branch: action-fix