Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated description on "notify" action #22

Merged
merged 1 commit into from
May 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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