Sfoglia il codice sorgente

tweak pkg maintenance

tags/v0.4.1
Garrick Aden-Buie 4 anni fa
parent
commit
6e6daf04d8
Non sono state trovate chiavi note per questa firma nel database
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      .github/workflows/pkg-maintenance.yaml

+ 3
- 3
.github/workflows/pkg-maintenance.yaml Vedi File

- name: Document - name: Document
run: | run: |
Rscript -e 'roxygen2::roxygenise()' Rscript -e 'roxygen2::roxygenise()'
git add man/\* NAMESPACE && git commit -m 'Document (GitHub Actions)' || echo "No documentation changes to commit"
git add man/\* NAMESPACE DESCRIPTION && git commit -m 'Document (GitHub Actions)' || echo "No documentation changes to commit"


- name: Build README and index - name: Build README and index
run: | run: |
if [ -f "index.Rmd" ]; then if [ -f "index.Rmd" ]; then
Rscript -e 'rmarkdown::render("index.Rmd", quiet = FALSE, output_options = list(html_preview = FALSE))' Rscript -e 'rmarkdown::render("index.Rmd", quiet = FALSE, output_options = list(html_preview = FALSE))'
git add index.md && git commit -m 'Re-build index.Rmd (GitHub Actions)' || echo "No index.Rmd changes to commit"
git add index.md man/figures/index* && git commit -m 'Re-build index.Rmd (GitHub Actions)' || echo "No index.Rmd changes to commit"
else else
echo "No index.Rmd to build" echo "No index.Rmd to build"
fi fi
if [ -f "README.Rmd" ]; then if [ -f "README.Rmd" ]; then
Rscript -e 'devtools::build_readme(quiet = FALSE)' Rscript -e 'devtools::build_readme(quiet = FALSE)'
git add man/figures/README\* README.md && git commit -m 'Re-build README.Rmd (GitHub Actions)' || echo "No readme changes to commit"
git add man/figures/README* README.md && git commit -m 'Re-build README.Rmd (GitHub Actions)' || echo "No readme changes to commit"
else else
echo "No README.Rmd to build" echo "No README.Rmd to build"
fi fi

Loading…
Annulla
Salva