From ec0de35a70c4e051247afecae9aaa57b5b5e4bdf Mon Sep 17 00:00:00 2001 From: rh-bayer Date: Thu, 2 Jul 2026 17:55:57 +0000 Subject: [PATCH] * Remove old deployment action --- .github/workflows/deployment.yaml | 70 ------------------------------- manifest.json | 9 ++-- 2 files changed, 3 insertions(+), 76 deletions(-) delete mode 100644 .github/workflows/deployment.yaml diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml deleted file mode 100644 index 4ec18fa..0000000 --- a/.github/workflows/deployment.yaml +++ /dev/null @@ -1,70 +0,0 @@ -name: Build and deploy container app to Posit Connect - -on: - push: - branches: - - main - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - workflow_dispatch: - inputs: - deploy-to: - description: 'Deploy to environment' - required: true - default: 'dev' - type: choice - options: - - dev - - prod - -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: r-lib/actions/setup-r@v2 - with: - r-version: renv - - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - install-pandoc: true - extra-packages: | - any::rcmdcheck - - - uses: r-lib/actions/check-r-package@v2 - with: - upload-snapshots: true - build_args:'c("--no-manual","--compact-vignettes=gs+qpdf")' - deploy-posit: - runs-on: ubuntu-latest - needs: check - steps: - - uses: actions/checkout@v4 - - - uses: r-lib/actions/setup-r@v2 - with: - r-version: renv - - - name: Install renv dependencies - uses: r-lib/actions/setup-renv@v2 - - - name: Install extra dependencies - run: Rscript -e 'renv::install("rsconnect")' - - - name: Create manifest.json - shell: Rscript {0} - run: | - renv::snapshot(prompt = FALSE) - rsconnect::writeManifest() - - - name: Publish Connect content - uses: rstudio/actions/connect-publish@8c14b2c9102ab5f108afa49927cb4edbc84dac21 - with: - url: ${{ secrets.CONNECT_SERVER }} - api-key: ${{ secrets.CONNECT_API_KEY }} - access-type: logged_in - namespace: DIG - dir: | - .:/${{ github.event.repository.name }}-${{(startsWith(github.event.ref, 'refs/tags/v') || github.event.inputs.deploy-to == 'prod') && 'prod' || 'dev'}} diff --git a/manifest.json b/manifest.json index 90a15c5..6c325f8 100644 --- a/manifest.json +++ b/manifest.json @@ -5091,9 +5091,6 @@ ".github/ISSUE_TEMPLATE/FEATURE.yml": { "checksum": "6a50daccdb9e51cf9c645f1ce4fb4db0" }, - ".github/workflows/deployment.yaml": { - "checksum": "de41675e398476b428ac63c49fa51383" - }, ".github/workflows/format-check.yaml": { "checksum": "ead9df69f8cabb9b8af1fa73c776159f" }, @@ -5104,10 +5101,10 @@ "checksum": "83498f25785ca93d9477c422c9844cd9" }, ".Rbuildignore": { - "checksum": "3c5faee36f34f273fde7a1f1be35c489" + "checksum": "ca9db4ef0a82e42d1e9a66a3af1b6a73" }, ".Rprofile": { - "checksum": "8e2a47086b9bafc0ede96e334ed8b300" + "checksum": "3b11b14a1841e464db5f6071f83139b1" }, ".vscode/extensions.json": { "checksum": "90d7891f1569632ae447aaa2d080d5c7" @@ -5125,7 +5122,7 @@ "checksum": "14a63670169deb7ff7b026c14c4122fd" }, "DESCRIPTION": { - "checksum": "86fb765ce77462e65b4ab61fc55cca9b" + "checksum": "b6bc116fee16c49b72656382a5c0ff90" }, "Dockerfile": { "checksum": "f6fb68958ded29de00cce5ec17477a6c"