Skip to content

Commit

Permalink
Merge pull request #509 from rstudio/update-publish-action
Browse files Browse the repository at this point in the history
confirm helm-docs is installed before render
  • Loading branch information
colearendt committed May 20, 2024
2 parents 4567386 + b3ca3bc commit 11b4dff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ ARCH := if arch() == "aarch64" {"arm64"} else if arch() == "x86_64" {"x86_64"} e
setup:
#!/bin/bash
set -xe
if [ -f ./bin/helm-docs ]; then
echo "Helm-docs is already installed"
exit 0
fi
echo "Installing helm-docs version {{HELM_DOCS_VERSION}}"
mkdir -p bin
curl -L -s https://github.com/norwoodj/helm-docs/releases/download/v{{HELM_DOCS_VERSION}}/helm-docs_{{HELM_DOCS_VERSION}}_{{OS}}_{{ARCH}}.tar.gz -o bin/helm-docs.tar.gz
Expand Down
4 changes: 3 additions & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
project:
type: posit-docs
pre-render: just docs
pre-render:
- just setup
- just docs
render:
- charts/rstudio-workbench/README.md
- charts/rstudio-workbench/NEWS.md
Expand Down

0 comments on commit 11b4dff

Please sign in to comment.