Skip to content

Commit

Permalink
now
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellga committed Mar 23, 2024
1 parent 131fcea commit 900ad1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Check for changes
id: check_changes
run: |
git diff --exit-code || echo "Git has changes."
git diff --exit-code
if [ $? -eq 0 ]; then
echo "No changes to commit."
exit 0
Expand All @@ -57,8 +57,6 @@ jobs:
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name "${GITHUB_ACTOR}"
echo oioioi
echo steps.check_changes.outputs['exit-code']
git add .
git commit -m "Created github pages docs"
git push origin master
Expand Down
2 changes: 1 addition & 1 deletion rdocs/R/main.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 900ad1c

Please sign in to comment.