Skip to content

Get deployment url after successful deploy #565

Open
@tobiasdiez

Description

@tobiasdiez

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 ::set-output deployment_url=<url> if the ci env variable is present.

Describe alternatives you've considered
Manual scraping of the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    command: deployAll issues related to the deploy commandcomplexity: hoursIssues that need less than 1 hour to be resolvedpriority: low (P2)Low priorityscope: cliIssues happened a the ./src/cli leveltype: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions