Parcourir la source

tweak pkg maintenance

tags/v0.4.1
Garrick Aden-Buie il y a 4 ans
Parent
révision
6e6daf04d8
Aucune clé connue n'a été trouvée dans la base pour cette signature
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. +3
    -3
      .github/workflows/pkg-maintenance.yaml

+ 3
- 3
.github/workflows/pkg-maintenance.yaml Voir le fichier

@@ -56,19 +56,19 @@ jobs:
- name: Document
run: |
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
run: |
if [ -f "index.Rmd" ]; then
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
echo "No index.Rmd to build"
fi
if [ -f "README.Rmd" ]; then
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
echo "No README.Rmd to build"
fi

Chargement…
Annuler
Enregistrer