提交 8adec9bb 编写于 作者: A Achilleas Pipinellis

Merge branch 'test-job' into 'master'

Add a test job

See merge request pages/gitbook!9
......@@ -13,6 +13,15 @@ before_script:
#- gitbook fetch pre # fetch latest pre-release version
#- gitbook fetch 2.6.7 # fetch specific version
test:
stage: test
script:
- gitbook build . public # build to public path
only:
- branches # this job will affect only the 'master' branch
except:
- master
# the 'pages' job will deploy and build your site to the 'public' path
pages:
stage: deploy
......@@ -21,5 +30,6 @@ pages:
artifacts:
paths:
- public
expire_in: 1 week
only:
- master # this job will affect only the 'master' branch
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册