diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 4b02a06..e64b619 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -45,12 +45,15 @@ jobs: - name: Check for changes id: check_changes run: | + git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com" + git config --global user.name "${GITHUB_ACTOR}" + git diff --exit-code if [ $? -eq 0 ]; then - echo "No changes to commit." - echo "::set-output name=changes::false" + echo "No changes to commit." + echo "::set-output name=changes::false" else - echo "::set-output name=changes::true" + echo "::set-output name=changes::true" fi - name: Commit and push changes diff --git a/rdocs/R/main.R b/rdocs/R/main.R index a38da3e..98c1766 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 has been built.") + cat("Documentation was built.") invisible(NULL) }