Skip to content

manually render html #7

manually render html

manually render html #7

Workflow file for this run

on:
push:
branches:
- master
# paths: ['**.Rmd']
name: render-rmarkdown
jobs:
render-rmarkdown:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
with:
fetch-depth: 0
env:
GITHUB_PAT: ${{ secrets.GH_ACTION }}
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: meenaljhajharia/bda-docker:latest
options: -v ${{ github.workspace }}:/work
shell: bash
run: |

Check failure on line 26 in .github/workflows/render.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/render.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
cd /work
git config --global --add safe.directory /work
git config --global user.name "avehtari"
git config --global user.email "[email protected]"
git checkout master
git diff --name-only HEAD^ | grep '[.]*Rmd$' > last_modified_rmd_files.txt
git diff --name-only HEAD^ | grep '[.]*qmd$' > last_modified_qmd_files.txt
while read -r filename; do echo "$filename"; Rscript -e "rmarkdown::render('$filename')"; done < last_modified_rmd_files.txt
while read -r filename; do echo "$filename"; quarto render $filename; done < last_modified_qmd_files.txt
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GH_ACTION_ }}
publish_branch: master
publish_dir: docs