diff --git a/.github/actions/hugo-build-action/action.yaml b/.github/actions/hugo-build-action/action.yaml index bea0cd82c..8ef16cfef 100644 --- a/.github/actions/hugo-build-action/action.yaml +++ b/.github/actions/hugo-build-action/action.yaml @@ -44,4 +44,4 @@ runs: BASE_URL: ${{ inputs.base-url }} shell: bash run: | - npx --no hugo --minify ${BASE_URL:+--baseURL $BASE_URL} -e _default + npx --no -- hugo --minify ${BASE_URL:+--baseURL $BASE_URL} -e _default diff --git a/.github/actions/hugo-build-versioned-action/action.yaml b/.github/actions/hugo-build-versioned-action/action.yaml index 933e282d2..733ca9123 100644 --- a/.github/actions/hugo-build-versioned-action/action.yaml +++ b/.github/actions/hugo-build-versioned-action/action.yaml @@ -81,4 +81,4 @@ runs: HUGO_ENV: ${{ inputs.hugo-env }} shell: bash run: | - npx --no hugo --minify ${BASE_URL:+--baseURL $BASE_URL} + npx --no -- hugo --minify ${BASE_URL:+--baseURL $BASE_URL} diff --git a/.github/workflows/netlify-deploy-v2.yaml b/.github/workflows/netlify-deploy-v2.yaml index 25607013e..3d5065f90 100644 --- a/.github/workflows/netlify-deploy-v2.yaml +++ b/.github/workflows/netlify-deploy-v2.yaml @@ -142,7 +142,7 @@ jobs: working-directory: ./docs env: HUGO_ENV: production - run: npx --no hugo --minify + run: npx --no -- hugo --minify - name: Publish (draft) uses: netlify/actions/cli@3185065f4ab2f6df6f2ef41ee013626e1c02a426 # master with: