Skip to content

Update readme and push it #3314

Update readme and push it

Update readme and push it #3314

Workflow file for this run

---
name: Docs 📚
on:
push:
branches:
- main
paths:
- "inst/templates/**"
- "_pkgdown.*"
- DESCRIPTION
- "**.md"
- "**.Rmd"
- "man/**"
- "LICENSE.*"
- NAMESPACE
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- main
paths:
- "inst/templates/**"
- "_pkgdown.*"
- DESCRIPTION
- "**.md"
- "**.Rmd"
- "man/**"
- "LICENSE.*"
- NAMESPACE
workflow_dispatch:
jobs:
docs:

Check failure on line 37 in .github/workflows/docs.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs.yaml

Invalid workflow file

You have an error in your yaml syntax on line 37
name: Pkgdown Docs 📚
uses: insightsengineering/r.pkg.template/.github/workflows/pkgdown.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
default-landing-page: latest-tag
additional-unit-test-report-directories: unit-test-report-non-cran
deps-installation-method: setup-r-dependencies
- name: Render Rmarkdown files 🖹
run: |
RMD_PATH=($(git diff --name-only ${{ github.event.before }} ${{ github.sha }} *.Rmd))
Rscript -e 'for (f in commandArgs(TRUE)) if (file.exists(f)) rmarkdown::render(f)' ${RMD_PATH[*]}
- name: Commit results ⬆️
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git commit ${RMD_PATH[*]/.Rmd/.md} -m 'Re-build Rmarkdown files' || echo "No changes to commit"
git push origin || echo "No changes to commit"