File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- paths :
8- - ' mongodb-rag-docs/**'
9- - ' .github/workflows/deploy-docs.yml'
107
118permissions :
129 contents : write
@@ -15,21 +12,24 @@ jobs:
1512 deploy :
1613 name : Deploy to GitHub Pages
1714 runs-on : ubuntu-latest
15+ defaults :
16+ run :
17+ working-directory : mongodb-rag-docs
1818 steps :
1919 - uses : actions/checkout@v3
2020
21- - name : Setup Node.js
22- uses : actions/setup-node@v3
21+ - uses : actions/setup-node@v3
2322 with :
2423 node-version : 18
24+ registry-url : ' https://registry.npmjs.org'
2525
2626 - name : Install dependencies
27- working-directory : mongodb-rag-docs
28- run : npm install
27+ run : |
28+ npm install --no-package-lock
2929
3030 - name : Build website
31- working-directory : mongodb-rag-docs
32- run : npm run build
31+ run : |
32+ npm run build
3333
3434 - name : Deploy to GitHub Pages
3535 uses : peaceiris/actions-gh-pages@v3
You can’t perform that action at this time.
0 commit comments