This commit is contained in:
parent
4e794299bd
commit
43aeab876c
@ -4,11 +4,10 @@ on: [push]
|
||||
jobs:
|
||||
build:
|
||||
steps:
|
||||
- run: ls -lR
|
||||
- name: Check out repository code
|
||||
- run: uname -a
|
||||
- name: 克隆仓库
|
||||
uses: http://47.116.170.60:3300/jeff/checkout@v3
|
||||
- run: ls -lR
|
||||
- name: Use Node.js 1
|
||||
- name: 指定node.js版本
|
||||
uses: http://47.116.170.60:3300/jeff/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
@ -27,6 +26,6 @@ jobs:
|
||||
run: yarn build
|
||||
- run: ls
|
||||
- run: docker build -t jeffdoc:${{ gitea.sha }} .
|
||||
- run: docker stop jeffdoc
|
||||
- run: docker rm jeffdoc
|
||||
#- run: docker stop jeffdoc
|
||||
#- run: docker rm jeffdoc
|
||||
- run: docker run --name=jeffdoc -d -p 9080:80 jeffdoc:${{ gitea.sha }}
|
Loading…
Reference in New Issue
Block a user