-
Notifications
You must be signed in to change notification settings - Fork 64
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
Deployment status in PR not starting or updating #137
Comments
This looks like a quirk of GitHub PR ref. The PR ref is a "magical" merge ref, not a real branch and GitHub's deployment API doesn't appear to special case this. TL;DR: This action needs to use |
Looks like that was the problem. Thanks a lot. |
Hey @alipas could you maybe elaborate a bit more on how you resolved this issue? Thx 🙏 |
@wagnertimo Passing in the - name: Start GitHub deployment
uses: bobheadxi/[email protected]
id: deployment
with:
env: release
ref: ${{ github.head_ref }}
step: start
token: ${{ secrets.GITHUB_TOKEN }} |
^ This. For |
I'm not quite sure what is causing this as this configuration has worked before. There's nothing particularly complicated about it and looks similar to the examples given here.
To add to the mystery, the deployment can be seen under Deployments/History but the PR deployment status is stuck in
This branch has not been deployed
.Steps are as follows and job throws no warnings or errors.
Start
Debug output:
Finish
Debug output:
The text was updated successfully, but these errors were encountered: