Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Dec 8, 2023
1 parent b096021 commit b24de13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
env:
NEXT_PUBLIC_DRUPAL_BASE_URL: ${{ secrets.NEXT_PUBLIC_DRUPAL_BASE_URL }}
NEXT_IMAGE_DOMAIN: ${{ secrets.NEXT_IMAGE_DOMAIN }}
BUILD_COMPLETE: ${{ secrets.BUILD_COMPLETE }}
steps:
- uses: actions/checkout@v2
- name: Restore Cache
Expand Down
2 changes: 1 addition & 1 deletion app/(public)/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export const generateStaticParams = async () => {
'node--sul_library'
], {}, {params: params.getQueryObject()});

let fetchMore = process.env.BUILD_COMPLETE === 'true' || process.env.CI !== 'true';
let fetchMore = process.env.BUILD_COMPLETE === 'true';
let fetchedData: GetStaticPathsResult["paths"] = []
let page = 1;
while (fetchMore) {
Expand Down

0 comments on commit b24de13

Please sign in to comment.