Skip to content
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

Github page doesn't exist when deploying #47

Closed
lpossamai opened this issue Jan 25, 2019 · 4 comments
Closed

Github page doesn't exist when deploying #47

lpossamai opened this issue Jan 25, 2019 · 4 comments

Comments

@lpossamai
Copy link

Hi.

I followed your steps, and when deploying to my repository I get: "There isn't a GitHub pages site here".
http://lpossamai.github.io

Steps that I made:

  1. Downloaded the repository
  2. Install Ruby gems
  3. Start Jekyll server (This works fine)
  4. Changed the variables GITHUB_REPONAME and GITHUB_REPO_BRANCH in Rakefile
  5. Ran rake

Am I missing something? Cheers!

@nandomoreirame
Copy link
Owner

nandomoreirame commented Jan 25, 2019

Remove baseurl /end2end

baseurl: "/end2end"

image

the file main.css (https://lpossamai.github.io/end2end/css/main.css) returns 404 error.
remove /end2end like this > https://lpossamai.github.io/css/main.css

on line 25 in the file _config.yml

https://github.com/nandomoreirame/end2end/blob/master/_config.yml#L25

@lpossamai
Copy link
Author

Thanks for your prompt reply @nandomoreirame .

I've removed the "/end2end" as you suggested:

First I tried:
baseurl: ""

Then I tried to remove the entire line baseurl: "".
But the problem persists.

ANy more tips? Obrigado! :)

@lpossamai
Copy link
Author

I'm getting:
Refused to load the font '<URL>' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.

Added to index.html (seen here phonegap/phonegap-app-desktop#801):
<meta http-equiv="Content-Security-Policy" content="default-src 'self' gap:; script-src * data: https://ssl.gstatic.com 'unsafe-inline' 'unsafe-eval'; object-src *; style-src 'self' data: 'unsafe-inline'; img-src 'self' data:; media-src 'self' data:; font-src 'self' data:; connect-src *">

Did not fix the problem.

@lpossamai
Copy link
Author

It seems to be working now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants