Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cicd-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱允伟
cicd-test
Commits
3ef70268
Commit
3ef70268
authored
Apr 11, 2022
by
朱允伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
b34f9612
Pipeline
#41839
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
.gitlab-ci.yml
.gitlab-ci.yml
+23
-23
No files found.
.gitlab-ci.yml
View file @
3ef70268
image
:
node:alpine
stages
:
-
install
-
build
-
deploy
variables
:
MT_VAR
:
"
myname
is
zye"
cache
:
key
:
hello-vue-cache
paths
:
-
node_modules
job_install
:
stage
:
install
log_var
:
script
:
-
npm install
-
echo $MT_VAR
# stages:
# - install
# - build
# - deploy
job_build
:
stage
:
build
script
:
-
npm run build
# job_install:
# stage: install
# script:
# - npm install
job_deploy
:
stage
:
deploy
script
:
-
echo 'start deploy'
# job_build:
# stage: build
# script:
# - npm run build
# job_deploy:
# stage: deploy
# script:
# - echo 'start deploy'
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