Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-CI
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
twb
gitlab-CI
Commits
629aaa88
Commit
629aaa88
authored
Nov 12, 2019
by
汤文兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a1506889
Pipeline
#709
failed in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
30 deletions
+9
-30
.gitlab-ci.yml
+9
-30
No files found.
.gitlab-ci.yml
View file @
629aaa88
# This file is a template, and might need editing before it works on your project.
stages
:
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
-
build
variables
:
# you can delete this line if you're not using Docker
UMI_ENV
:
"
prod"
#image: busybox:latest
PROJECT_PATH
:
"
/mnt/home/deploy/ant-design-pro/middle-end-H5"
build
:
# test:
stage
:
build
# stage: build
# only:
# - master
# script:
# - CI_TEST=test
# - echo $CI_TEST
# - echo "Do your build here"
# - docker run --rm -w /data -v $PWD:/data node:8.11.2-alpine sh -c "yarn && npm test"
# deploy:
# stage: deploy
# only:
# - master
# script:
# - echo "Do your deploy here"
deploy
:
stage
:
deploy
only
:
only
:
-
tags
-
release
script
:
script
:
-
echo $CI_COMMIT_SHA
-
echo $PROJECT_PATH
-
echo $CI_COMMIT_BEFORE_SHA
-
echo $CI_COMMIT_REF_NAME
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