diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dabe2ee..b7d21c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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