Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
4e88c0e4
Commit
4e88c0e4
authored
Oct 30, 2020
by
叶飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: gitlab ci
parent
531832c9
Pipeline
#18379
failed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
27 deletions
+1
-27
.gitlab-ci.yml
.gitlab-ci.yml
+1
-27
No files found.
.gitlab-ci.yml
View file @
4e88c0e4
...
...
@@ -2,9 +2,6 @@ variables:
DEPLOY_PATH
:
'
F:/WisdomComponents'
stages
:
-
init
-
bootstrap
-
build
-
release
before_script
:
...
...
@@ -13,33 +10,10 @@ before_script:
-
whoami
-
node -v
init
:
stage
:
init
script
:
-
cd /d %DEPLOY_PATH%/src/wisdom-components
-
dir
-
git pull
-
echo 开始安装依赖...
-
npm install && echo 安装完成
bootstrap
:
stage
:
bootstrap
script
:
-
cd /d %DEPLOY_PATH%/src/wisdom-components
-
dir
build
:
stage
:
build
script
:
-
cd /d %DEPLOY_PATH%/src/wisdom-components
-
echo 开始打包...
-
npm run site
-
echo 打包完成
release
:
stage
:
release
script
:
-
cd /d %DEPLOY_PATH%/src/wisdom-components
-
echo 开始拷贝发布包...
-
robocopy dist %DEPLOY_PATH%/dist
-
robocopy dist %DEPLOY_PATH%/dist
; IF ((%LASTEXITCODE% -le 8)) {cmd /c "exit /b 0"}'
-
echo 发布完成.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment