Azure / Azure/static-web-apps-cli
Get deployment url after successful deploy
- Lenguaje dominante
- TypeScript
- Estrellas
- 668
- Forks
- 156
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**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.
Guía de contribución
Línea de trabajo
Comienza con el comando `swa deploy` y sigue el flujo de un deployment exitoso y el formato de su salida. Confirma cómo se puede devolver la URL del deployment y, cuando está presente `ci`, exponerla como salida de un job; se considera terminado cuando ambos comportamientos funcionan después de un deployment exitoso.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- azure, github-actions
- Área
- ci-cd, cli, cloud
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 50/100