-
Notifications
You must be signed in to change notification settings - Fork 23
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
404 deploys #34
Comments
@mxstbr Does a deployment actually occur — does anything appear when you run If the version of I'll try to replicate this locally ✌️ |
I'm running on a private repo maybe that why? |
|
Trying anew |
Nope I have a completely new deploy of stage-ci, added the webhook and everything. It says "OK" in the webhook response but there's no deploy in |
This is the log from the StageCI instance:
|
@mxstbr I've managed to replicate this — I think it's an issue with It being a private repository shouldn't be an issue either, as it uses the GitHub token to clone. |
It's not a git issue — it gets to performing staging and fails on deployment somewhere, although it's hard to debug based on even my local error log... I've got terribly slow internet at the moment, which is also making it difficult to debug, might be able to go to a coffee shop tomorrow to keep cracking this (amongst other things!) ✌️ |
Awesome, excited to get this resolved! |
I can't reproduce this bug locally, but I've created a branch which has some extra logging so hopefully we can track this down: Once change of note in here is going from |
Also worth pointing out that we're behind on the version of |
also does this have anything to do with the Problem? |
I have the same issue with this PR: nikolaevigor/yard-frontend#29 |
I ran @paulirish' branch, these are the logs:
It looks like |
sg. you should be able to try that out locally pretty easily. |
Upgrading to |
Something that stuck out to me was this line: const nowBin = path.resolve('./node_modules/now/build/bin/now'); Maybe the path isn't reliable.. perhaps it may be more successful with something like this... const nowBin = path.join(require.resolve('now'), '../../bin/now'); Just a stab in the dark here. :) |
I have a public repo where this happening: styled-components/styled-components-website#74 |
@mxstbr Same thing happened to me today |
I got the same problem on a private repo. Completely new stage-ci setup
|
I get the same problem on a public repo: The logs:
|
@mxstbr I've (hopefully) fixed this in #37, if you'd like to try it out, you can just checkout my branch: git clone git@github.com:hugomd/stage-ci.git
cd stage-ci
git fetch && git checkout feature/use-now-cli-binary
now deploy --npm . -e ZEIT_API_TOKEN=YOUR_TOKEN_HERE -e GITHUB_TOKEN=YOUR_TOKEN_HERE -e GITHUB_WEBHOOK_SECRET=YOUR_SECRET Not sure when/if it'll be merged in, I expect @zpnk is a bit busy! |
Hi @zpnk - Thanks making this cool project OSS! I'm still seeing this issue after deploying master today. Maybe I'm missing something? I used the link at stage.now.sh to deploy to now, which uses master of stage-ci. |
@infiniteluke Are you running this in Docker? If you are, I suspect the issue is that the npm Line 10 in 408f6a0
Lines 7 to 14 in 408f6a0
|
I just set up the new version of stage-ci and pushed to a PR, this is what I got:
This links to
<reponame>-<branchname>.now.sh
which is great except that URL just shows a Zeit 404. 😢Looking at the webhook everything is green, the stage-ci server replied with 200 OK. Any ideas what the culprit could be? /cc @paulirish
The text was updated successfully, but these errors were encountered: