Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
C
cmscenter
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吕祺
cmscenter
Commits
1bb3d91c
Commit
1bb3d91c
authored
Sep 18, 2021
by
吕祺
⛹🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add compress
parent
076fecd9
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
.gitlab-ci.yml
.gitlab-ci.yml
+11
-11
No files found.
.gitlab-ci.yml
View file @
1bb3d91c
...
@@ -27,16 +27,16 @@ compile_articles:
...
@@ -27,16 +27,16 @@ compile_articles:
-
echo "cms https://cmsadmin.gaorongvc.cn/ronghui/admin"
-
echo "cms https://cmsadmin.gaorongvc.cn/ronghui/admin"
#
compress_images:
compress_images
:
#
stage: build
stage
:
build
#
# when: manual
# when: manual
#
environment:
environment
:
#
name: release
name
:
release
#
only:
only
:
#
- master
-
master
#
script:
script
:
#
- yarn
-
yarn
#
- sh utils/imageCompress.sh
-
sh utils/imageCompress.sh
deploy
:
deploy
:
...
@@ -48,7 +48,7 @@ deploy:
...
@@ -48,7 +48,7 @@ deploy:
-
master
-
master
script
:
script
:
-
yarn
-
yarn
-
sh utils/imageCompress.sh
#
- sh utils/imageCompress.sh
-
npm run export
-
npm run export
-
node utils/toJSON.js
-
node utils/toJSON.js
-
rm -rf /home/gitlab-runner/deploy/cms/ronghui/out
-
rm -rf /home/gitlab-runner/deploy/cms/ronghui/out
...
...
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