diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index 047aedb..f8c49f1 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -15,6 +15,11 @@ env: # When using "Q&A"s, you can enable search: (set to 'true' / 'false') NG_USE_Q_AND_A_SEARCH: 'true' # + # (Optional) Search-feature via API + # - Requires: NG_USE_Q_AND_A_SEARCH to be 'true'! + # - Requires: SEARCH_API to be set to the URL of the Search-API used. (See below; Set by default) + NG_USE_SEARCH_VIA_API: 'false' + # # Enable Feedback-prompt on Sub-Category and Offer pages (set to 'true' / 'false') NG_USE_FEEDBACK_PROMPT: 'true' # @@ -196,6 +201,7 @@ jobs: NG_PRODUCTION: 'true' GOOGLE_SHEETS_API_KEY: '' GOOGLE_SHEETS_API_URL: '/example-multilingual/data' + SEARCH_API: ${{ vars.SEARCH_API }} MATOMO_CONNECTION_STRING: ${{ vars.MATOMO_CONNECTION_STRING }} GOATCOUNTER_CONNECTION_STRING: ${{ vars.GOATCOUNTER_CONNECTION_STRING }} AI_CONNECTION_STRING: ${{ vars.AI_CONNECTION_STRING }} @@ -239,15 +245,15 @@ jobs: run: 'cp www/index.html www/404.html' - name: Setup GitHub Pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@v6 with: enablement: true - name: Upload artifact - uses: actions/upload-pages-artifact@v4 + uses: actions/upload-pages-artifact@v5 with: path: 'www' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/package.json b/package.json index 924c693..dd19439 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "engines": { - "node": "^22.5.1" + "node": ">=24" }, "dependencies": { "helpful-information": "https://github.com/rodekruis/helpful-information/tarball/develop"