File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,10 @@ export const publishCommand =
4646 . name ( "publish" )
4747 . description (
4848 "Publish a document or project. Available providers include:\n\n" +
49- " - Netlify (netlify )\n" +
49+ " - Quarto Pub (quarto-pub )\n" +
5050 " - GitHub Pages (gh-pages)\n" +
5151 " - RStudio Connect (connect)\n\n" +
52+ " - Netlify (netlify)\n" +
5253 "Accounts are configured interactively during publishing.\n" +
5354 "Manage/remove accounts with: quarto publish accounts" ,
5455 )
Original file line number Diff line number Diff line change @@ -40,22 +40,22 @@ export function anonymousAccount(): AccountToken {
4040}
4141
4242const kPublishProviders = [
43- netlifyProvider ,
44- ghpagesProvider ,
4543 quartoPubProvider ,
44+ ghpagesProvider ,
4645 rsconnectProvider ,
46+ netlifyProvider ,
4747] ;
4848
4949export async function publishProviders ( ) {
5050 const providers : Array < PublishProvider > = [ ] ;
51- providers . push ( netlifyProvider ) ;
52- providers . push ( ghpagesProvider ) ;
5351 const dotenvConfig = await quartoConfig . dotenv ( ) ;
5452 const quartopubAppId = dotenvConfig [ "QUARTO_PUB_APP_CLIENT_ID" ] ;
5553 if ( quartopubAppId && quartopubAppId !== "None" ) {
5654 providers . push ( quartoPubProvider ) ;
5755 }
56+ providers . push ( ghpagesProvider ) ;
5857 providers . push ( rsconnectProvider ) ;
58+ providers . push ( netlifyProvider ) ;
5959 return providers ;
6060}
6161
Original file line number Diff line number Diff line change 11NETLIFY_APP_CLIENT_ID="Uvc1jdhLBsRtog1ToBQ2T5emDnvrW4or4GIcis-tMyA"
2- QUARTO_PUB_ENVIRONMENT="None"
3- QUARTO_PUB_APP_CLIENT_ID="None"
2+ QUARTO_PUB_APP_CLIENT_ID="DM573bgQK4WcTOSOc0ku9Ur7fGvKHKgw"
You can’t perform that action at this time.
0 commit comments