Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use nightly image #932

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
if: github.event.action == 'opened' || github.event.action == 'synchronize'
with:
repository: "grafana/writers-toolkit"
ref: "main"
ref: "robbymilo/deploy-preview"
path: deploy-preview-files
persist-credentials: false
sparse-checkout: |
Expand Down
5 changes: 5 additions & 0 deletions deploy-preview/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
To test modifications to the deploy preview workflow:

1. Update `uses` in .github/workflows/deploy-pr-preview.yml to use the `robbymilo/deploy-preview` branch
1. Update `ref` in .github/workflows/deploy-preview.yml to use the `robbymilo/deploy-preview` branch
1. Add a test change under `docs/sources`
2 changes: 1 addition & 1 deletion deploy-preview/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ docker run \
-e INDEX_FILE \
-e REPO \
-e WEBSITE_DIRECTORY \
--rm grafana/docs-base:latest \
--rm grafana/docs-base:nightly \
/bin/bash \
-c '
if [[ "${INDEX_FILE}" == "true" ]]; then
Expand Down
2 changes: 2 additions & 0 deletions docs/sources/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ If it's your first time using the guide, start with the [Get started](https://gr

Writers' Toolkit is open source and available at [`grafana/writers-toolkit`](https://github.com/grafana/writers-toolkit).
If you have questions, or feedback on how to improve this documentation, [open an issue](https://github.com/grafana/writers-toolkit/issues/new) and help make this an even better resource.

test
Loading