forked from iam4x/now-deploy-preview-comment
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Branch is undefined #31
Comments
Looking at it, my naive thought is that there is a missing key here: Lines 80 to 104 in 1defb91
However, I'm unable to quickly find it in the Zeit Deployment api docs. |
@ckipp01 - name: Zeit Now Deployment
uses: amondnet/now-deployment@v2.0.0
with:
zeit-token: ${{ secrets.ZEIT_TOKEN }}
now-org-id: ${{ secrets.ORG_ID }}
now-project-id: ${{ secrets.PROJECT_ID }}
now-args: '--prod -m githubCommitRef=YOUR_BRANCH' #-m githubCommitRef=YOUR_BRANCH |
Just tested. 👍 the branch appears when that is filled in. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Thanks for the great action. I've noticed that when I check in the Zeit Dashboard, the branch name is undefined that caused the deployment. Am I potentially missing something, or is this just not being set?
My setup:
Everything deploys correctly, but you can see in the deployments page that the commit message is there, but no branch name
Then when you click into the deployment, you'll again see the missing branch name that leads you to
tree/undefined
which will obviously 404 on github.The text was updated successfully, but these errors were encountered: