From 05380145fb2e730550a273b26bd9562da5f0fb1e Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Fri, 10 Feb 2023 15:22:19 +0800 Subject: [PATCH] Add branch reference --- .github/workflows/run-distiller.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-distiller.yml b/.github/workflows/run-distiller.yml index cbd86d147..3a78bf1f2 100644 --- a/.github/workflows/run-distiller.yml +++ b/.github/workflows/run-distiller.yml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Setup Go uses: actions/setup-go@v3 with: @@ -41,7 +43,6 @@ jobs: - name: Commit changes and push uses: EndBug/add-and-commit@v9 with: - push: true - branch: ${{ github.ref }} - message: 'Update generated html' add: '.' + message: 'Update generated html' + push: true