mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Drone: Fix docs building (#28986)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
parent
91eac6e7af
commit
9582e0afd9
12
.drone.yml
12
.drone.yml
@ -159,7 +159,7 @@ steps:
|
||||
image: grafana/docs-base:latest
|
||||
commands:
|
||||
- mkdir -p /hugo/content/docs/grafana
|
||||
- cp -r docs/sources /hugo/content/docs/grafana/latest
|
||||
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
|
||||
- cd /hugo && make prod
|
||||
depends_on:
|
||||
- initialize
|
||||
@ -440,16 +440,6 @@ steps:
|
||||
depends_on:
|
||||
- build-frontend
|
||||
|
||||
- name: build-docs-website
|
||||
image: grafana/docs-base:latest
|
||||
commands:
|
||||
- mkdir -p /hugo/content/docs/grafana
|
||||
- cp -r docs/sources /hugo/content/docs/grafana/latest
|
||||
- cd /hugo && make prod
|
||||
depends_on:
|
||||
- initialize
|
||||
- build-frontend-docs
|
||||
|
||||
- name: copy-packages-for-docker
|
||||
image: grafana/build-container:1.2.28
|
||||
commands:
|
||||
|
@ -637,7 +637,7 @@ def build_docs_website_step():
|
||||
],
|
||||
'commands': [
|
||||
'mkdir -p /hugo/content/docs/grafana',
|
||||
'cp -r docs/sources /hugo/content/docs/grafana/latest',
|
||||
'cp -r docs/sources/* /hugo/content/docs/grafana/latest/',
|
||||
'cd /hugo && make prod',
|
||||
],
|
||||
}
|
||||
|
@ -14,7 +14,6 @@ load(
|
||||
'e2e_tests_step',
|
||||
'build_storybook_step',
|
||||
'build_frontend_docs_step',
|
||||
'build_docs_website_step',
|
||||
'copy_packages_for_docker_step',
|
||||
'build_docker_images_step',
|
||||
'postgres_integration_tests_step',
|
||||
@ -54,7 +53,6 @@ def get_steps(edition, is_downstream=False):
|
||||
build_storybook_step(edition=edition, ver_mode=ver_mode),
|
||||
publish_storybook_step(edition=edition, ver_mode=ver_mode),
|
||||
build_frontend_docs_step(edition=edition),
|
||||
build_docs_website_step(),
|
||||
copy_packages_for_docker_step(),
|
||||
build_docker_images_step(edition=edition, ver_mode=ver_mode, publish=publish),
|
||||
build_docker_images_step(edition=edition, ver_mode=ver_mode, ubuntu=True, publish=publish),
|
||||
|
Loading…
Reference in New Issue
Block a user