Skip to content

Commit b8129a0

Browse files
committed
[ci] temporarily deactivate documentation deployment on production
1 parent fb5e9ad commit b8129a0

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

.travis.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -121,38 +121,38 @@ jobs:
121121
after_deploy:
122122
- npm run doc-cloudfront
123123

124-
- stage: Deployment Doc Prod
125-
name: Deploy docs.kuzzle.io
126-
if: type = push AND branch =~ /^master|[0-9]+-stable$/
127-
language: node_js
128-
node_js: 10
129-
env:
130-
- NODE_ENV=production
131-
- S3_BUCKET=docs.kuzzle.io
132-
- CLOUDFRONT_DISTRIBUTION_ID=E3D6RP0POLCJMM
133-
- AWS_DEFAULT_REGION=us-west-2
134-
135-
addons:
136-
apt:
137-
packages:
138-
- python
139-
- python-pip
140-
141-
install:
142-
- pip install awscli --upgrade --user
143-
144-
script:
145-
- npm run doc-prepare
146-
- npm run doc-build
147-
148-
deploy:
149-
provider: script
150-
script:
151-
- npm run doc-upload
152-
skip_cleanup: true
153-
154-
after_deploy:
155-
- npm run doc-cloudfront
124+
# - stage: Deployment Doc Prod
125+
# name: Deploy docs.kuzzle.io
126+
# if: type = push AND branch =~ /^master|[0-9]+-stable$/
127+
# language: node_js
128+
# node_js: 10
129+
# env:
130+
# - NODE_ENV=production
131+
# - S3_BUCKET=docs.kuzzle.io
132+
# - CLOUDFRONT_DISTRIBUTION_ID=E3D6RP0POLCJMM
133+
# - AWS_DEFAULT_REGION=us-west-2
134+
135+
# addons:
136+
# apt:
137+
# packages:
138+
# - python
139+
# - python-pip
140+
141+
# install:
142+
# - pip install awscli --upgrade --user
143+
144+
# script:
145+
# - npm run doc-prepare
146+
# - npm run doc-build
147+
148+
# deploy:
149+
# provider: script
150+
# script:
151+
# - npm run doc-upload
152+
# skip_cleanup: true
153+
154+
# after_deploy:
155+
# - npm run doc-cloudfront
156156

157157
- stage: Deploy Stable release on NPM
158158
if: branch =~ /^master|[0-9]+-stable$/ AND tag IS present AND type != cron

0 commit comments

Comments
 (0)