-
Notifications
You must be signed in to change notification settings - Fork 10
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
[FR] Allow to publish with GHA on an existing content already deployed #11
Labels
enhancement
New feature or request
Comments
This should now be possible for the cases where you want to specify an app GUID or name, e.g.: - name: Publish the book
uses: rstudio/actions/connect-publish@main
with:
api-key: ${{ secrets.RSC_BETA_TOKEN }}
url: https://beta.rstudioconnect.com/
access-type: logged_in
dir: _book:1d9c4665-eae0-4b3c-ab75-5652653ecb2f - name: Publish the book
uses: rstudio/actions/connect-publish@main
with:
api-key: ${{ secrets.RSC_BETA_TOKEN }}
url: https://beta.rstudioconnect.com/
access-type: logged_in
dir: _book:demo-bookdown-deploy |
Please reopen if you the above examples don't work correctly 😁 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be interesting to be able to have a way to publish to an existing content.
With
rsconnect
, there is several solution for that:appId
because you can easily find it (in the url of the content).deployApp
also allow to pass theappName
which is unique - but unless you remember what you set or you consult withrsconnect::deployments
to find it again. I am not sure you can find it easily in your app webpage.The API offer another way using the GUID (which you can easily find in the INFO part of your app page).
I think I would like to do something like this (example using a bookdown project, deploying static bookdown result here in book folder already containing a manifest)
or
It would also be the app name which is unique on connect
This is a broader topic, but being able to set most of what
rsconnect::deployApp
could do would be great. But that is Bonus.Currently, without this feature describe above, I can't really switch from a Manual Deployment workflow for a GHA deployment workflow without removing my previous content and re-publishing
See examples workflows I am testing in https://github.com/cderv/deploy-bookdown-demo/tree/master/.github/workflows. I can do it with
rsconnect-python
CLI tool : https://github.com/cderv/deploy-bookdown-demo/blob/d1a13809959cb1ef37c8175046df08ca762b59ff/.github/workflows/bookdown-rsconnect-python.yaml#L56connectapi
📦 : https://github.com/cderv/deploy-bookdown-demo/blob/d1a13809959cb1ef37c8175046df08ca762b59ff/.github/workflows/bookdown.yaml#L56The text was updated successfully, but these errors were encountered: