Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andykenward authored Apr 21, 2024
1 parent 45f2527 commit 61695e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The GitHub Action uses [GitHub Environments] for the deployments. **This GitHub
For example manually create two GitHub Environments called "production" & "preview". Then you can define them in the workflow yaml step for `github-environment` as the below example. The check for `github.ref == 'refs/heads/main'` is used to switch between these two GitHub Environments, `main` Git branch for `"production"` and any other branch will use `"preview"`.

```yaml
github-environemnt: ${{ (github.ref == 'refs/heads/main' && 'production') || 'preview' }}
github-environment: ${{ (github.ref == 'refs/heads/main' && 'production') || 'preview' }}
```
## Upgrading
Expand Down

0 comments on commit 61695e4

Please sign in to comment.