Giter Club home page Giter Club logo

Comments (10)

george-gca avatar george-gca commented on June 2, 2024

You didn't post the Error messages and logs part. Check your GitHub actions' logs to see what the problem was while deploying, and try to fix those issues. If there is any issue that is not yet covered by our FAQ or previos issues, please post the log here.

from al-folio.

vasilisfloudas avatar vasilisfloudas commented on June 2, 2024

thanks for the quick reply and sorry if it sounds stupid, but where can i find actions' logs? Do u mean the actions' logs on the process or on my repository?

from al-folio.

george-gca avatar george-gca commented on June 2, 2024

On your repository. You can check the actions tab in your repository for more information about the failed workflows. For example, in the last one it says Error: Liquid syntax error (line 59): Unknown tag 'toc'. You can check more information about this error on our FAQ.

from al-folio.

george-gca avatar george-gca commented on June 2, 2024

My recommendation is, follow the instructions in installing and deploy strictly. First make it work with as few changes as possible, and only them make the changes you want. Also try to make small changes one step at a time. This way it will be easier to track which change breaks the build.

from al-folio.

vasilisfloudas avatar vasilisfloudas commented on June 2, 2024
  • i did what you say, i follow the instructions stricly, my site was up until i clone the repo to make some little changes

more specifically

  • change name and turn off some cv/people/ teaching/publication

  • change gem mini racer to → gem execjs

  • add gem gem 'wdm', '>= 0.1.0'

  • change .ipynb to .IPYNB and works

  • turn magickimage enable to false

  • all these one because the commands οf jekyll for hosting topically did not work.

  • all fine with the site hosting topic →
    image

    with ctrl+click showing my edited site

  • HOWEVER, after run these commands (

git init
git checkout -b gh-pages
git status
git add .
git commit -m “initial commit”
git remote add origin https://github.com/myusername.io.git
git branch gh-pages
git push origin gh-pages

)

the problem that has arisen (and is probably off-topic) is this ->
image

Any suggestions?

thank you very much for your time. I appreciate it

from al-folio.

george-gca avatar george-gca commented on June 2, 2024

You should not mess with gh-pages branch. Only GitHub actions should use it. All your modifications should be at the main branch only.

Also, did you make all these changes in a single commit? If yes, you are kind of missing the point of git. You should keep your commits as minimal as possible, so it is not only easier to find which modification caused the issue, but also it is easier to revert the changes.

from al-folio.

vasilisfloudas avatar vasilisfloudas commented on June 2, 2024

the commands (include for gh-pages) its from this tutorial: Jekyll Tutorial .

What process do u suggest (with commands include) to push my site?

Also, did you make all these changes in a single commit?

  • changes yes, commands no. I will do it again with one-to-one process. Thank you!

from al-folio.

george-gca avatar george-gca commented on June 2, 2024

Forget the tutorial, this template have everything you need to set it up as easy as possible. Since you said your site worked on the beginning, then obviously another change you introduced breaked the code.

The workflow is simple:

  • Make it work for the first time, changing the minimum
  • It is working, now do changes as small as possible, always testing them both locally and when you push your code to your repo

The repository is set so every commit you do in the main branch of your repo builds the site and automatically deploy it to your page. If the build fails, then something is wrong. Doing small changes at a time makes it easier to pinpoint the exact change that messed up.

You can check the results of the build and deploy in the actions part of your repository. All workflows defined in the .github/workflows/ directory will appear in this part and their execution can be checked there.

from al-folio.

vasilisfloudas avatar vasilisfloudas commented on June 2, 2024

if local works perfectly i proceed with: modify a mini change-> push -> check if the change works on the site and again and again the same procedure for each change. No problem if it works. fingers crossed

Does it HAVE TO work local? is it necessary? or do we just push and let it not work with the command bundle exec jekyll server

PS: the instructions for beginners INSTALL.md are completely problematic and do not help, on the contrary they are more confusing. (If you want I can help with that as I have the experience of these days)

Edit: george thank you very much for your help, the site is up and running

from al-folio.

george-gca avatar george-gca commented on June 2, 2024

If you think this is still confusing, create a PR with the changes you think are necessary, so we can further discuss this. Closing this issue.

from al-folio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.