Azure / Azure/static-web-apps-cli
Get deployment url after successful deploy
- Lingua principale
- TypeScript
- Stelle
- 668
- Fork
- 156
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Is your feature request related to a problem? Please describe.**
Since the Azure/static-web-apps-deploy action is a container action and thus doesn't work in windows workflows, I've implemented the deployment to azure using this cli. In this setting, it would be nice to get the url where the site is deployed from `swa deploy` to e.g show it as a comment or start api tests.
**Describe the solution you'd like**
`swa deploy` should return the deployment url (if deployment is successful). For additional convince, it would be nice if `swa deploy` would print the deployment url as a [job output](https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs) `::set-output deployment_url=` if the `ci` env variable is present.
**Describe alternatives you've considered**
Manual scraping of the output.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Parti dal comando `swa deploy` e segui il percorso di un deployment riuscito e la formattazione del relativo output. Verifica come può essere restituito l’URL del deployment e, quando è presente `ci`, esposto come output di un job; il lavoro è completato quando entrambi i comportamenti funzionano dopo un deployment riuscito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, github-actions
- Ambito
- ci-cd, cli, cloud
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 50/100