From e2af8aa53b3522a393b920dc910e93ae4189473b Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Tue, 21 Feb 2023 13:41:39 +0000 Subject: [PATCH] Create full directory path for testing docs (#62004) * Create full directory path for testing docs The previous command was useless as the old image already had the /hugo/content/docs/grafana directory. The old image also had the /hugo/content/docs/grafana/latest directory but the new image does not. Signed-off-by: Jack Baldry * Modify a documentation file to to trigger docs PR tests Signed-off-by: Jack Baldry * Sentence case description Co-authored-by: Ursula Kallio --------- Signed-off-by: Jack Baldry Co-authored-by: Ursula Kallio --- .drone.yml | 6 +++--- docs/sources/_index.md | 2 +- scripts/drone/steps/lib.star | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 787b3ed9599..db81d76128f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -985,7 +985,7 @@ steps: image: grafana/build-container:v1.7.1 name: lint-docs - commands: - - mkdir -p /hugo/content/docs/grafana + - mkdir -p /hugo/content/docs/grafana/latest - cp -r docs/sources/* /hugo/content/docs/grafana/latest/ - cd /hugo && make prod image: grafana/docs-base:latest @@ -1102,7 +1102,7 @@ steps: image: grafana/build-container:v1.7.1 name: lint-docs - commands: - - mkdir -p /hugo/content/docs/grafana + - mkdir -p /hugo/content/docs/grafana/latest - cp -r docs/sources/* /hugo/content/docs/grafana/latest/ - cd /hugo && make prod image: grafana/docs-base:latest @@ -6660,6 +6660,6 @@ kind: secret name: aws_secret_access_key --- kind: signature -hmac: 57537bd164fcf56d24efb3972e06dc7af094546bf70052a2efd026a018059479 +hmac: 1847568b29364d0ba065b1f65d6536f24f636dbf36ce2cdccf05e8f80e2b9caf ... diff --git a/docs/sources/_index.md b/docs/sources/_index.md index 4c066f07ef4..f37ff83a094 100644 --- a/docs/sources/_index.md +++ b/docs/sources/_index.md @@ -3,7 +3,7 @@ aliases: - /docs/grafana/v1.1/ - /docs/grafana/v3.1/ - guides/reference/admin/ -description: Guides, Installation and Feature Documentation +description: Guides, installation, and feature documentation keywords: - grafana - installation diff --git a/scripts/drone/steps/lib.star b/scripts/drone/steps/lib.star index 395890b85a0..01422c0e10b 100644 --- a/scripts/drone/steps/lib.star +++ b/scripts/drone/steps/lib.star @@ -940,7 +940,7 @@ def build_docs_website_step(): # Use latest revision here, since we want to catch if it breaks "image": "grafana/docs-base:latest", "commands": [ - "mkdir -p /hugo/content/docs/grafana", + "mkdir -p /hugo/content/docs/grafana/latest", "cp -r docs/sources/* /hugo/content/docs/grafana/latest/", "cd /hugo && make prod", ],