From ebcccdebf631451fddd47cb5f3a68ad3e12e3598 Mon Sep 17 00:00:00 2001 From: Mike Monteith Date: Thu, 18 Apr 2024 09:30:24 +0100 Subject: [PATCH] Use -- to pass arguments through npm run commands Fixes missing basepath in deployed github pages --- .github/workflows/docs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 3666455..ca502d7 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -14,7 +14,7 @@ jobs: with: node-version: '20' - run: npm ci - - run: npm run build:docs --pathprefix="nhsapp-frontend" + - run: npm run build:docs -- --pathprefix="nhsapp-frontend" - uses: actions/upload-pages-artifact@v3 with: path: 'dist/docs'