Skip to content

Update the generated content draft URL #688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

marcosnav
Copy link
Contributor

@marcosnav marcosnav commented Jun 30, 2025

Intent

PR to update the provided URL when deploying content with the --draft flag, now that content drafts are included in Connect's main dashboard.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Approach

  • Updated the URL generated when deploying using the --draft flag

Automated Tests

Updated test_deploy_draft tests that run the command with --draft, asserting the generated URL changes included in this PR.

Directions for Reviewers

Deploying with the --draft flag provides a Draft URL when the deployment succeeds:
e.g command

rsconnect deploy streamlit --server http://connect-server --api-key API_KEY --draft ./

e.g output

    Draft content URL: http://connect-server/connect/#/apps/APP_GUID/draft/BUNDLE_ID

Checklist

  • I have updated CHANGELOG.md to cover notable changes.
  • I have updated all related GitHub issues to reflect their current state.

Copy link

PR Preview Action v1.6.1

🚀 View preview at
https://posit-dev.github.io/rsconnect-python/pr-preview/pr-688/

Built to branch gh-pages at 2025-06-30 18:27 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
5120 3982 78% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/api.py 77% 🟢
TOTAL 77% 🟢

updated for commit: b178e31 by action🐍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant