Skip to content

ottrproject/ottr-preview

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ottr-preview

This action can create previews of your Rmd, Quarto, or markdown websites on an open pull requests.

It will create a report and comment on your open pull request if put in a workflow that uses the pull_request trigger.

Screenshot 2025-04-04 at 11 26 11 AM

How to use:

You can make a preview like this for an Rmd/Quarto website or course.

steps:
    - name: Checkout Actions Repository
      uses: actions/checkout@v4
      with:
        fetch-depth: 0

    - name: Run render for Rmd
      uses: ottrproject/ottr-preview@cansavvy-patch-1
      with:
        toggle_website: "rmd"

Parameters

  • toggle_website - can be "rmd", "rmd_web", "quarto", or "quarto_web" for bookdown render, markdown render, or quarto render.
  • root_path is how you can specify where the base of your website is (will look for files like "index.Rmd"). Default is current working directory.

About

A repository for the composite action to render previews

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 5