Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ CLAUDE.md
^pkgdown$
^\.github$
inst/hex/
inst/manifest.json
33 changes: 33 additions & 0 deletions .github/workflows/cleanup-previews.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Cleanup PR Previews

on:
pull_request:
types: [closed]
workflow_dispatch:
inputs:
pr_number:
description: Pull request number to clean up
required: true
type: number

jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pull-requests: write
steps:
- uses: actions/checkout@v7

- name: Cleanup preview bundles (dev)
uses: posit-dev/connect-actions/cleanup-previews@main
with:
connect-server: ${{ secrets.CONNECT_SERVER_DEV }}
github-token: ${{ github.token }}

- name: Cleanup preview bundles (staging)
uses: posit-dev/connect-actions/cleanup-previews@main
with:
connect-server: ${{ secrets.CONNECT_SERVER_STAGING }}
github-token: ${{ github.token }}
35 changes: 35 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy to Connect

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pull-requests: write
steps:
- uses: actions/checkout@v7

- name: Deploy to Connect (dev)
uses: posit-dev/connect-actions/deploy@main
with:
connect-server: ${{ secrets.CONNECT_SERVER_DEV }}
content-guid: d7a36cae-8f27-448b-a478-61b81fbe3942
path: inst
github-token: ${{ github.token }}
rsconnect-args: --title biodiversity-explorer

- name: Deploy to Connect (staging)
uses: posit-dev/connect-actions/deploy@main
with:
connect-server: ${{ secrets.CONNECT_SERVER_STAGING }}
content-guid: ad662e1b-5048-4acc-9ad7-f9478c92274e
path: inst
github-token: ${{ github.token }}
rsconnect-args: --title biodiversity-explorer
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Suggests:
yaml
VignetteBuilder: knitr
Remotes:
posit-dev/shinychat,
posit-dev/shinychat/pkg-r,
simonpcouch/ragnar@writable-extensions
Config/testthat/edition: 3
Encoding: UTF-8
Expand Down
File renamed without changes.
Loading
Loading