Fix build workflow
This commit is contained in:
parent
8d39c82952
commit
6b53b4cd7a
1 changed files with 6 additions and 7 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -1,20 +1,17 @@
|
|||
name: Build Eleventy
|
||||
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '/maintenance/**'
|
||||
- '/README.md'
|
||||
- 'maintenance/**'
|
||||
- 'README.md'
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '/maintenance/**'
|
||||
- '/README.md'
|
||||
- 'maintenance/**'
|
||||
- 'README.md'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
@ -29,6 +26,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue