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

Update actions #29

Merged
merged 1 commit into from
Jul 4, 2022
Merged
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
20 changes: 5 additions & 15 deletions .github/workflows/pkgdown-gh-pages-clean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,11 @@ jobs:
extra-packages:
local::.
any::pkgdown
ropenscilabs/r2readthedocs
ropenspain/rostemplate
needs: website

- name: Update docs
- name: Deploy package
run: |
r2readthedocs::rtd_build()

r2readthedocs::r2readthedocs(".")

shell: Rscript {0}

- name: Commit results
run: |
git config --local user.name "dieghernan"
git config --local user.email "dieghernan@users.noreply.github.com"
git add -A
git commit -m 'Update docs with pkgdev' || echo "No changes to commit"
git push origin || echo "No changes to commit"
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE, run_dont_run = TRUE)'
Empty file removed docs/.gitignore
Empty file.