Skip to content

Commit c689d50

Browse files
committed
Update workflow to commit only dist
1 parent d234cfe commit c689d50

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/node.js.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,21 @@ jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
16+
permissions:
17+
contents: write
1618

1719
steps:
1820
- uses: actions/checkout@v4
21+
with:
22+
ref: ${{ github.head_ref }}
1923
- name: Use Node.js
2024
uses: actions/setup-node@v4
2125
with:
22-
node-version: '22.x'
26+
node-version: '20.x'
2327
cache: 'npm'
2428
- run: npm ci
2529
- run: npm run build --if-present
30+
- uses: stefanzweifel/git-auto-commit-action@v5
31+
with:
32+
file_pattern: "css/dist/**"
33+
commit_message: Update dist

0 commit comments

Comments
 (0)