Skip to content
Open
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
4 changes: 4 additions & 0 deletions news/changelog-1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ All changes included in 1.9:

## Publishing

### Quarto Pub Sunsetting

- ([#14060](https://github.com/quarto-dev/quarto-cli/issues/14060)): Remove `quarto publish quarto-pub` option due to Quarto Pub sunsetting.

### Posit Connect Cloud

- ([#14027](https://github.com/quarto-dev/quarto-cli/issues/14027)): Add `quarto publish posit-connect-cloud` for publishing static content to Posit Connect Cloud.
Expand Down
1 change: 0 additions & 1 deletion src/command/publish/cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export const publishCommand =
.name("publish")
.description(
"Publish a document or project to a provider.\n\nAvailable providers include:\n\n" +
" - Quarto Pub (quarto-pub)\n" +
" - GitHub Pages (gh-pages)\n" +
" - Posit Connect (connect)\n" +
" - Posit Connect Cloud (posit-connect-cloud)\n" +
Expand Down
10 changes: 8 additions & 2 deletions src/publish/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import { netlifyProvider } from "./netlify/netlify.ts";
import { ghpagesProvider } from "./gh-pages/gh-pages.ts";
import { quartoPubProvider } from "./quarto-pub/quarto-pub.ts";
import { rsconnectProvider } from "./rsconnect/rsconnect.ts";
import { confluenceProvider } from "./confluence/confluence.ts";
import { huggingfaceProvider } from "./huggingface/huggingface.ts";
Expand All @@ -19,7 +18,6 @@ export function accountTokenText(token: AccountToken) {
}

const kPublishProviders = [
quartoPubProvider,
ghpagesProvider,
rsconnectProvider,
netlifyProvider,
Expand All @@ -41,5 +39,13 @@ export function findProvider(name?: string) {
`See https://docs.posit.co/cloud/whats_new/#october-2024 for details.`,
);
}
if (name === "quarto-pub") {
warning(
`The Quarto Pub publishing destination is no longer supported. ` +
`Consider publishing to Posit Connect Cloud instead ` +
`using \`quarto publish posit-connect-cloud\`. ` +
`See https://docs.posit.co/cloud/whats_new/#october-2024 for details.`,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not this link I think...

);
}
return kPublishProviders.find((provider) => provider.name === name);
}
Loading