Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
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
CivWeb
Commits
a9273020
Commit
a9273020
authored
3 years ago
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加免密登陆
parent
4a9c2455
master
dev
devNew
feat/layout-flat
patch-1
soundai
test
zhongyi
No related merge requests found
Pipeline
#40610
passed with stages
in 9 minutes 48 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
.gitlab-ci.yml
.gitlab-ci.yml
+3
-4
No files found.
.gitlab-ci.yml
View file @
a9273020
...
...
@@ -16,7 +16,6 @@ install:
tags
:
-
civ_base
script
:
-
git checkout master
-
npm run init
cache
:
key
:
${CI_COMMIT_REF_SLUG}
...
...
@@ -36,7 +35,7 @@ package:
script
:
-
echo "${CI_PROJECT_DIR}"
-
git checkout master
-
npm run init
#
- npm run init
-
npm run build --releasepath=../CivWebPublish2021
#cache:
# key: ${CI_COMMIT_REF_SLUG}
...
...
@@ -59,8 +58,8 @@ push:
-
'
git
clean
-fd'
-
'
git
remote
set-url
origin
"https://${GIT_ACCESS_USER}:${GIT_ACCESS_PASSWORD}@g.civnet.cn:8443/CivPublish/CivWebPublish2021.git"'
-
'
git
pull
origin
map'
-
'
git
rm
-rf
"${TARGET_REPO}/civbase"'
-
'
git
commit
-m
"chore:
clear
folder"'
#
- 'git rm -rf "${TARGET_REPO}/civbase"'
#
- 'git commit -m "chore: clear folder"'
-
'
git
push
origin
map'
-
'
robocopy
"${CI_PROJECT_DIR}/../CivWebPublish2021/civbase"
"${TARGET_REPO}/civbase"
/S
;
IF
((${LASTEXITCODE}
-le
8))
{cmd
/c
"exit
/b
0"}'
...
...
This diff is collapsed.
Click to expand it.
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