Skip to content

Commit ce4c936

Browse files
committed
[sunset] Remove Quarto Pub from 'quarto publish'
1 parent c792ec2 commit ce4c936

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

news/changelog-1.9.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ All changes included in 1.9:
129129

130130
## Publishing
131131

132+
### Quarto Pub Sunsetting
133+
134+
- Remove `quarto publish quarto-pub` option due to Quarto Pub sunsetting.
135+
132136
### Posit Connect Cloud
133137

134138
- ([#14027](https://github.com/quarto-dev/quarto-cli/issues/14027)): Add `quarto publish posit-connect-cloud` for publishing static content to Posit Connect Cloud.

src/command/publish/cmd.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export const publishCommand =
4747
.name("publish")
4848
.description(
4949
"Publish a document or project to a provider.\n\nAvailable providers include:\n\n" +
50-
" - Quarto Pub (quarto-pub)\n" +
5150
" - GitHub Pages (gh-pages)\n" +
5251
" - Posit Connect (connect)\n" +
5352
" - Posit Connect Cloud (posit-connect-cloud)\n" +

src/publish/provider.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import { netlifyProvider } from "./netlify/netlify.ts";
88
import { ghpagesProvider } from "./gh-pages/gh-pages.ts";
9-
import { quartoPubProvider } from "./quarto-pub/quarto-pub.ts";
109
import { rsconnectProvider } from "./rsconnect/rsconnect.ts";
1110
import { confluenceProvider } from "./confluence/confluence.ts";
1211
import { huggingfaceProvider } from "./huggingface/huggingface.ts";
@@ -19,7 +18,6 @@ export function accountTokenText(token: AccountToken) {
1918
}
2019

2120
const kPublishProviders = [
22-
quartoPubProvider,
2321
ghpagesProvider,
2422
rsconnectProvider,
2523
netlifyProvider,
@@ -41,5 +39,13 @@ export function findProvider(name?: string) {
4139
`See https://docs.posit.co/cloud/whats_new/#october-2024 for details.`,
4240
);
4341
}
42+
if (name === "quarto-pub") {
43+
warning(
44+
`The Quarto Pub publishing destination is no longer supported. ` +
45+
`Consider publishing to Posit Connect Cloud instead ` +
46+
`using \`quarto publish posit-connect-cloud\`. ` +
47+
`See https://docs.posit.co/cloud/whats_new/#october-2024 for details.`,
48+
);
49+
}
4450
return kPublishProviders.find((provider) => provider.name === name);
4551
}

0 commit comments

Comments
 (0)