Skip to content

Commit

Permalink
add how-to section for usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nginx-jack committed Jul 24, 2024
1 parent 931bdd3 commit 5611e8d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ The action pushes to an Azure Storage Container, and assumed an existing reverse

By default, it will also purge the provided CDN path.

## How to

1. Head to the actions section of your repository, for example https://github.com/yourOrg/yourRepo/actions

1. On the left side, click on Build and deploy (docs)
![Build and deploy (docs)](/images/build-and-deploy.png "Build and deploy (docs)")
1. On the right side, you should now see a Run workflow button
![Run Workflow](/images/run-workflow.png "Run Workflow")
1. Clicking this will open a menu which lets you select the branch you want to build, and which environment you'd like to deploy to
1. Preview will generate a custom url for any branch you want, and will be available in the workflow output.
All builds, regardless of environment, will print a url to the summary.
![Summary](/images/summary.png "Summary")

Preview URLs wil be added as a comment to PRs automatically.

_note: autodeploy from branch is currently in progress. This docs will be updated when available._

## Usage

### Security considerations
Expand Down
Binary file added images/build-and-deploy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/run-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/summary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5611e8d

Please sign in to comment.