Azure / Azure/static-web-apps-cli

Get deployment url after successful deploy

オープン
#565 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る
command: deploy complexity: hours priority: low (P2) scope: cli type: enhancement
主要言語
TypeScript
スター
668
フォーク
156
PR マージ指標
30日以内にマージされた PR はありません

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

`swa deploy` コマンドから開始し、デプロイが成功した場合の処理経路とその出力形式を追跡します。デプロイ URL を返せること、また `ci` が存在する場合にジョブの出力として公開できることを確認します。成功したデプロイ後にこの両方の動作が機能すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, github-actions
領域
ci-cd, cli, cloud
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
50/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。