Skip to content

feat: add connector pkg and whirl prez #18

feat: add connector pkg and whirl prez

feat: add connector pkg and whirl prez #18

Workflow file for this run

on:
schedule: # Run every Sunday at 23.00 to not get outdated content
- cron: 0 23 * * 0
workflow_dispatch:
push:
branches: main
pull_request:
branches: main
name: Quarto Build and Publish
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Install R
uses: r-lib/actions/setup-r@v2
with:
r-version: 'renv'
- name: Install R Dependencies
uses: r-lib/actions/setup-renv@v2
with:
cache-version: 1
- name: Generate pages
run: Rscript RUNME.R
- name: Quarto Render
uses: quarto-dev/quarto-actions/render@v2
- name: Upload static files as artifact
uses: actions/upload-pages-artifact@v3
with:
path: _site/
deploy:
needs: build
if: github.ref_name == 'main'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4