parent
c4d26bb1e6
commit
05ea195a72
@ -4,29 +4,4 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
steps:
|
steps:
|
||||||
- run: ls -lR
|
- run: ${{ github.sha }}
|
||||||
- name: Check out repository code
|
|
||||||
uses: http://47.116.170.60:3300/jeff/checkout@v3
|
|
||||||
- run: ls -lR
|
|
||||||
- name: Use Node.js 1
|
|
||||||
uses: http://47.116.170.60:3300/jeff/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: '20'
|
|
||||||
|
|
||||||
- run: yarn config get registry
|
|
||||||
- run: npm config get registry
|
|
||||||
- run: yarn config set registry http://47.116.170.60:40087
|
|
||||||
- run: npm config set registry http://47.116.170.60:40087
|
|
||||||
- run: yarn config get registry
|
|
||||||
- run: npm config get registry
|
|
||||||
- run: yarn cache clean
|
|
||||||
- run: ls -lR
|
|
||||||
- name: Install dependencies
|
|
||||||
run: yarn
|
|
||||||
- name: Build Docusaurus website
|
|
||||||
run: yarn build
|
|
||||||
- run: ls
|
|
||||||
- run: docker build -t jeffdoc .
|
|
||||||
- run: docker stop jeffdoc
|
|
||||||
- run: docker rm jeffdoc
|
|
||||||
- run: docker run --name=jeffdoc -d -p 9080:80 jeffdoc
|
|
||||||
|
Loading…
Reference in New Issue
Block a user