Skip to content

Commit

Permalink
Merge pull request #22 from humanitec/fix-preview-notify-description
Browse files Browse the repository at this point in the history
Updated description on "notify" action
  • Loading branch information
TobiasBabin authored May 29, 2024
2 parents 70b0060 + 5502ae9 commit 04c3e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ jobs:
action: delete
github-token: ${{ secrets.GITHUB_TOKEN }}
```
### Notify Humanitec
### Notify GitHub Environment

Add the following snipped after your CI step to notify Humanitec about the newly pushed image (commonly the build-push-to-humanitec step):
Add the following snipped after your CI step (commonly the [build-push-to-humanitec](https://github.com/humanitec/build-push-to-humanitec) step) to notify the underlying [GitHub Environment](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment) about the newly pushed image. When the `environment-url-template` parameter is provided, GitHub will display a "View Deployment" button for convenient access to the preview environment using the generated URL.

```yaml
- uses: humanitec/preview-envs-action@v2
Expand Down

0 comments on commit 04c3e22

Please sign in to comment.