Skip to content

ci: publish to connect #1

ci: publish to connect

ci: publish to connect #1

on:
push:
branches:
- main
name: Render and Publish
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
# From https://github.com/actions/setup-python
# - name: Setup Python
# uses: actions/setup-python@v3
# From https://github.com/r-lib/actions/tree/v2-branch/setup-r
# - name: Setup R
# uses: r-lib/actions/setup-r@v2
- name: Publish to RStudio Connect (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: connect
CONNECT_SERVER: ${{ secrets.CONNECT_SERVER }}
CONNECT_API_KEY: ${{ secrets.CONNECT_API_KEY }}