From b72aca4c02143ba88cae292a1e9ab7386fc6b67e Mon Sep 17 00:00:00 2001 From: daniellga Date: Sat, 23 Mar 2024 18:56:06 -0300 Subject: [PATCH] ok3 --- .github/workflows/build_docs.yml | 7 +++---- rdocs/R/main.R | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index f3f7707..c6ec9a8 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -45,9 +45,8 @@ jobs: - name: Check for changes id: check_changes run: | - git status - git config user.name - + mkdir firfir + git diff --exit-code if [ $? -eq 0 ]; then echo "No changes to commit." @@ -63,6 +62,6 @@ jobs: git config --global user.name "${GITHUB_ACTOR}" git add . - git commit -m "Created github pages docs" + git commit -m "Update docs" git push origin master diff --git a/rdocs/R/main.R b/rdocs/R/main.R index e85529c..a38da3e 100644 --- a/rdocs/R/main.R +++ b/rdocs/R/main.R @@ -115,7 +115,7 @@ generate_docs <- function(files, folder_name = "docs", gh_url = "", run_examples # Create qmd files and build and render quarto project. system2(RDOCS_PATH, args = c("--files", files, "--folder-name", folder_name, "--gh-url", gh_url, run_examples)) - cat("Documentation built.") + cat("Documentation has been built.") invisible(NULL) }