diff --git a/.github/workflows/docs-github-pages.yml b/.github/workflows/docs-github-pages.yml index e52596d3f..a9d0d3157 100644 --- a/.github/workflows/docs-github-pages.yml +++ b/.github/workflows/docs-github-pages.yml @@ -1,5 +1,5 @@ # Simple workflow for deploying static content to GitHub Pages -name: Deploy static content to Pages +name: Deploy PWABuilder Docs to GitHub Pages on: # Runs on pushes targeting the default branch @@ -36,14 +36,14 @@ jobs: with: node-version: '16.x' - name: Setup Docs - run: cd docs/ && npm run setup + run: cd docs/ && npm i && npm run setup - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: # Upload entire repository - path: '.' + path: 'docs/' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2 diff --git a/docs/package.json b/docs/package.json index ea6e06c06..4e7dd072a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,9 +9,6 @@ "clean": "rm -rf dist", "setup": "npm run clean && tsc && node dist/setup.js" }, - "dependencies": { - "@pwabuilder/site-analytics": "file:../../libraries/site-analytics" - }, "devDependencies": { "@types/node": "^20.4.2", "cpx": "^1.5.0",