Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
zhaoxuanchao
zxc-antd-demo
Commits
a1263c1a
Commit
a1263c1a
authored
Aug 06, 2021
by
zhaoxuanchao
Browse files
Update .gitlab-ci.yml
parent
dd33e4b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
16 deletions
+23
-16
.gitlab-ci.yml
.gitlab-ci.yml
+23
-16
No files found.
.gitlab-ci.yml
View file @
a1263c1a
stages
:
stages
:
-
build
-
build
-
test
-
deploy
before_script
:
build-code-job
:
-
echo "before_script"
precompiled
:
stage
:
build
stage
:
build
tags
:
-
build
script
:
script
:
-
echo "Check the ruby version, then build some Ruby project files:"
-
echo "Hello precompiled"
-
ruby -v
# 测试环境
-
rake
test-env
:
stage
:
deploy
test-code-job1
:
tags
:
stage
:
test
-
build
environment
:
name
:
development
script
:
script
:
-
echo "If the files are built successfully, test some files with one command:"
-
echo "Hello precompiled"
-
rake test1
# 生产环境
prod-env
:
test-code-job2
:
stage
:
deploy
stage
:
test
tags
:
-
build
environment
:
name
:
production
script
:
script
:
-
echo "If the files are built successfully, test other files with a different command:"
-
echo "Hello"
-
rake test2
\ No newline at end of file
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