Skip to content

make_table_10_gt

make_table_10_gt #424

Workflow file for this run

---
name: Docs πŸ“š
on:
push:
branches:
- main
paths:
- "inst/templates/**"
- "_pkgdown.y[a]ml"
- DESCRIPTION
- "**.md"
- "**.Rmd"
- "man/**"
- "LICENSE.*"
- NAMESPACE
- "_quarto.yml"
- "quarto/**"
- "index.qmd"
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- main
paths:
- "inst/templates/**"
- "_pkgdown.y[a]ml"
- DESCRIPTION
- "**.md"
- "**.Rmd"
- "man/**"
- "LICENSE.*"
- NAMESPACE
- "_quarto.yml"
- "quarto/**"
- "index.qmd"
workflow_dispatch:
jobs:
docs:
name: Quarto Docs πŸ“•
runs-on: ubuntu-latest
container:
image: rocker/verse:4.3.0
permissions:
contents: write
steps:
- name: Check out repository πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Run Staged dependencies 🎦
uses: insightsengineering/staged-dependencies-action@fix-remotes-self-install
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
with:
enable-check: false
run-system-dependencies: true
direction: upstream
- name: Install package πŸ“¦
run: R CMD INSTALL .
- name: Render Quarto Project πŸ“‘
run: quarto render --output-dir _site
shell: bash
- name: Upload Docs ⬆️
if: github.event_name != 'push'
uses: actions/upload-artifact@v3
with:
name: site
path: ./_site
- name: Publish Site πŸ—ΊοΈ
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
destination_dir: "."