123
All checks were successful
Node.js CI / build (push) Successful in 3m32s

This commit is contained in:
洪剑峰 2024-08-13 17:27:48 +08:00
parent c3ea9952bc
commit cb8676ef31

View File

@ -13,16 +13,10 @@ jobs:
with: with:
node-version: '20' node-version: '20'
- run: yarn config get registry
- run: npm config get registry
- run: yarn config set registry https://registry.npm.taobao.org
- run: npm config set registry https://registry.npm.taobao.org
- run: yarn cache clean
- run: ls -lR
- name: Install dependencies - name: Install dependencies
run: yarn run: yarn
- name: Build Docusaurus website - name: Build Docusaurus website
run: yarn build run: yarn build
- run: ls - run: ls
- run: docker build -t jeffdoc . - run: docker build -t jeffdoc .
- run: docker run -v /home/project/Docusaurus/:/usr/share/nginx/html/ --name=jeffdoc -d -p 9080:80 jeffdoc - run: docker run --name=jeffdoc -d -p 9080:80 jeffdoc