Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
O
official
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
吕祺
official
Commits
6d23f67a
Commit
6d23f67a
authored
Jul 13, 2021
by
吕祺
⛹🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change root
parent
5e6a2a85
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
.gitlab-ci.yml
.gitlab-ci.yml
+6
-4
No files found.
.gitlab-ci.yml
View file @
6d23f67a
...
...
@@ -42,9 +42,9 @@ deploy:
-
yarn
# - sh utils/imageCompress.sh
-
npm run export
-
rm -rf /home/gitlab-runner/deploy/official/out/
-
rm -rf /home/gitlab-runner/deploy/
cms/official/out
#/home/gitlab-runner/deploy/
official/out/
-
echo "预览页面已清除"
-
cp -r out /home/gitlab-runner/deploy/official
-
cp -r out /home/gitlab-runner/deploy/
cms/official/
#deploy/
official
-
/home/gitlab-runner/sh/ossutil64 cp -f out oss://gaorong-web/ -r
...
...
@@ -63,8 +63,10 @@ preview:
-
yarn
# - sh utils/imageCompress.sh
-
npm run export
-
rm -r /home/gitlab-runner/deploy/official/out
-
cp -r out/ /home/gitlab-runner/deploy/official/
-
rm -rf /home/gitlab-runner/deploy/cms/official/out
#/home/gitlab-runner/deploy/official/out/
-
cp -r out /home/gitlab-runner/deploy/cms/official/
#deploy/official
# - rm -r /home/gitlab-runner/deploy/official/out
# - cp -r out/ /home/gitlab-runner/deploy/official/
-
echo "预览网站:http://preview.gaorongvc.cn:9945/"
...
...
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