integrated with gitlab-ci
This commit is contained in:
1 parent
4a8a0b8b11
commit
fefd3177b4
2 files changed
+17
-2
No files matched your search
@@ -0,0 +1,17 @@
|
|||||||
|
before_script:
|
||||||
|
# install ssh-agent
|
||||||
|
- 'which npm || ( apt-get update -y && apt-get install nodejs -y )'
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- npm install
|
||||||
|
- node_modules/.bin/gulp
|
||||||
|
- mkdir .public
|
||||||
|
- cp -r * .public
|
||||||
|
- mv .public public
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- master
|
||||||
Reference in new issue
Block a user