update actions to generate manifest.json#694
Draft
tomjemmett wants to merge 6 commits into
Draft
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR moves manifest.json generation into GitHub Actions (via an R script) instead of maintaining it with Node scripts, and updates deployment/sync workflows and example environment configuration accordingly.
Changes:
- Remove the Node-based manifest update scripts and rely on
rsconnect::writeManifest()for manifest generation. - Update the reusable Connect publish workflow to generate/upload
manifest.jsonand adjust environment/variable usage. - Rename the GitHub Actions environment used by the sync-data job and tidy
.Renviron.example.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| update_manifest.js | Deleted Node script previously used to update manifest.json. |
| remove_files_from_manifest.js | Deleted Node script that blanked manifest.json file entries. |
| dev/generate_manifest.R | Stops post-processing manifest; relies on rsconnect::writeManifest(). |
| .Renviron.example | Removes unused example entries and reorders CACHE_VERSION. |
| .github/workflows/sync-data.yaml | Changes job environment from production to sync-data. |
| .github/workflows/connect-publish-prod.yaml | Adjusts environment naming passed to the reusable publish workflow. |
| .github/workflows/connect-publish-manual.yaml | Generates/uploads manifest in CI; broadens environment input handling; switches some values from secrets to vars. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
tomjemmett
marked this pull request as draft
July 2, 2026 12:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate the manifest.json file in actions. cleans up the example Renviron which has some unused values in, and renames the environment used in the sync data step.