Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A couple fixes to make PRs and non-PRs work correctly: * In a conditional expression, `true` or `false` are returned unless you terminate both sides in a ternary. That was causing 2 strings to be suffixed with `false` instead of an empty string. * For a PR, we do actually want to cancel in progress runs since there's no danger of breaking an in progress deployment. * For PRs, just use the same `github-pages-pr` name for the artifact. The important part is that it's not called `github-pages` where an in progress deployment could pick it up. Otherwise it can use the same name all the time.
- Loading branch information