We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c120de9 commit da95614Copy full SHA for da95614
1 file changed
.github/workflows/build-and-commit.yml
@@ -20,6 +20,7 @@ jobs:
20
uses: actions/checkout@v4
21
with:
22
fetch-depth: 0 # Fetch all history for proper versioning
23
+ ref: ${{ github.ref }}
24
25
- name: Setup Node.js
26
uses: actions/setup-node@v4
@@ -41,4 +42,4 @@ jobs:
41
42
- name: Commit build results
43
run: |
44
git add build/ -f
- git diff --quiet && git diff --staged --quiet || (git commit -m "chore: update build files [skip ci]" && git push)
45
+ git diff --quiet && git diff --staged --quiet || (git commit -m "chore: update build files [skip ci]" && git push origin HEAD:${{ github.ref_name }})
0 commit comments