question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The web deployment does no load the css styles

See original GitHub issue

Describe the bug The web deployment does no load the css styles.

To Reproduce Steps to reproduce the behavior:

  1. Go to: https://leilaicruz.github.io/jupyter-book/ , which is the deployment
  2. The repo link is : https://github.com/leilaicruz/jupyter-book/tree/gh-pages

Expected behavior I expect to see the same css styles from https://jupyterbook.org/intro.html

Environment (please complete the following information):

  • Python Version [3.7.1]

This is my build.yml

name: Test Build
on:
  push:
    branches-ignore:
      - master
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout 🛎️
        uses: actions/checkout@v2
        with:
          persist-credentials: false

      - name: Setup Miniconda
        uses: goanpeca/setup-miniconda@v1
        with:
          auto-update-conda: true
          auto-activate-base: false
          miniconda-version: 'latest'
          python-version: 3.7
          environment-file: environment_win.yml
          activate-environment: wintest

      - name: Install jupyter_book
        shell: bash -l {0}
        run:  pip install jupyter-book --pre 


      - name: Build Jupyter Book
        shell: bash -l {0}
        run: jb build  mini_book/docs/

      - name: Install SSH Client 🔑
        uses: webfactory/ssh-agent@v0.2.0
        with:
          ssh-private-key: ${{ secrets.DEPLOY_KEY }}
        


      - name: Deploy 🚀
        uses: JamesIves/github-pages-deploy-action@releases/v3
        with:
          SSH: true
          BRANCH: gh-pages
          FOLDER: mini_book/docs/_build/html/
          
© 2020 GitHub, Inc.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
choldgrafcommented, Jun 1, 2020

it literally just needs a file called .nojekyll in the root of the repository (the file can be empty 😃 )

0reactions
choldgrafcommented, Jun 3, 2020

hmmm - this looks like some kind of permissions error for the browser, as opposed to something related to the outputs of Jupyter Book (403 forbidden is a permissions thing)…I also see the word “IFrame” on the page so it may be related to that

Read more comments on GitHub >

github_iconTop Results From Across the Web

html - Why is my website deploy not working with CSS?
I went to the site you linked to me, and I opened Firefox dev-tools. I noticed that the link for CSS seems to...
Read more >
css not working after deployment - MSDN - Microsoft
The OP said that it works when he use the style directly on aspx page but it does not load or work when...
Read more >
[SOLVED] Deployed website does not load css/javascript(?)
I have designed my website to a certain extent. Running "hugo -server" it looks as expected, accessed via localhost:1313.
Read more >
How CSS works - Learn web development | MDN
How does CSS actually work? When a browser displays a document, it must combine the document's content with its style information.
Read more >
ASP.NET Core Project Often Fails to Load CSS in Chrome ...
ASP.NET Core projects will often fail to refresh CSS style sheets (Bootstrap seems unaffected) in Chrome after first run without debugging session.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found