Closed ai closed 2 years ago
Fixed by adding ref: ${{ github.head_ref }}
to deployment
task
Should we add ref
to the main example in docs?
Hey, @ai
In your example, ref
is needed because your workflow is triggered from a pull request with reference in the refs/pull/pr_number
format. For this reason, the deployment is created against a ref
instead of your branch.
Deployment was created in Environments, but I still have
This branch has not been deployed
in the pull request