Merge pull request #1146 from vincent99/master

Subdir
This commit is contained in:
Vincent Fiduccia
2019-02-13 17:01:58 -07:00
committed by GitHub
3 changed files with 17 additions and 17 deletions
+15 -15
View File
@@ -11,19 +11,7 @@ pipeline:
when:
event: [pull_request]
docker-publish-algolia:
group: publish
image: plugins/docker
dockerfile: Dockerfile.algolia
repo: rancher/docs
context: .
tag: algolia
secrets: [docker_username, docker_password]
when:
branch: master
event: push
docker-publish-dev:
publish-dev:
group: publish
image: plugins/docker
dockerfile: Dockerfile.dev
@@ -35,7 +23,7 @@ pipeline:
branch: master
event: push
docker-publish-staging:
publish-staging:
group: publish
image: plugins/docker
dockerfile: Dockerfile.staging
@@ -47,7 +35,7 @@ pipeline:
branch: staging
event: push
docker-publish-latest:
publish-latest:
group: publish
image: plugins/docker
dockerfile: Dockerfile.prod
@@ -58,3 +46,15 @@ pipeline:
when:
branch: master
event: push
publish-algolia:
image: plugins/docker
dockerfile: Dockerfile.algolia
repo: rancher/docs
context: .
tag: algolia
secrets: [docker_username, docker_password]
when:
branch: master
event: push
+1 -1
View File
@@ -24,5 +24,5 @@ RUN stat /output/index.html
RUN ["npm","run","build-algolia"]
FROM nginx:alpine
COPY --from=build /output /usr/share/nginx/html/
COPY --from=build /output /usr/share/nginx/html/docs/
COPY nginx.conf /etc/nginx/conf.d/default.conf
+1 -1
View File
@@ -22,5 +22,5 @@ RUN ["hugo", "--buildDrafts", "--buildFuture", "--baseURL=https://staging.ranche
RUN stat /output/index.html
FROM nginx:alpine
COPY --from=build /output /usr/share/nginx/html/
COPY --from=build /output /usr/share/nginx/html/docs/
COPY nginx.conf /etc/nginx/conf.d/default.conf