GithubHelp home page GithubHelp logo

Comments (7)

biomadeira avatar biomadeira commented on June 11, 2024

@mikelor thanks! I definitely missed it ;)

from jasper2.

dhaksr avatar dhaksr commented on June 11, 2024

Hi,
I am newbie and trying to use this awesome template. When I add a token "GITHUB_TOKEN" as secret, i get an error as "Secret names must not start with the GITHUB " error message.
I was able to add my own secret by changing the name to something else. However the build is not successful. I cant find any error messages from the action flow too.
So I am kind of stuck. If this doesnt work, I have to try with desktop. For now, I am trying to do everything on the web itself.
I just noted that the secret that I have created is showing "Never Used" status in the settings page. So it looks like the workflow is not accessing my secret at all

from jasper2.

biomadeira avatar biomadeira commented on June 11, 2024

@dhaksr GITHUB_TOKEN is added by the Actions so you shouldn't need to worry about that... anyway have a read at this - https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow

from jasper2.

dhaksr avatar dhaksr commented on June 11, 2024

Sorry to bother..
I have tried to follow instructions as per Jasper2 readme. In that, I want to try the option 1 using github actions as I dont want to setup local repository.
I have created a fresh code respository with just a readme file and I have created _yconfig.yml with single line having
remote_theme: jekyllt/jasper2

I am able to see my changes in readme file getting published in the blog together with Jasper2 credits. However the beautiful image cards are not coming. :-(

Should I be doing something more?

I also tried to add a workflow with a copy of what is there as per this #122 issue. However, my workflow is not getting executed at all. I dont see the workflow actions console showing any execution. However my changes to readme file are getting reflected in the webpage. So, I assume its executing default Jekyll build and not my build. However its referring to your theme as the credits is reflecting.

I have copied my web page output for your reference. The page link is also provided.
Thanks for reading thru so long. Appreciate your work

https://dhaksr.github.io/bloggweb/ (this is just the readme and _yconfig file)
https://dhaksr.github.io/testweb/ ( this is with readme, _yconfig and workflow file)

--- copy of my web page ---

image

from jasper2.

mikelor avatar mikelor commented on June 11, 2024

@dhaksr, you'll want to fork the entire jekyllt/jasper2 respository to your account. It looks like you've created your repo with only a few files. Take a look at https://github.com/mikelor/mikelor.github.io

There are also two branches master and gh-pages. You make changes to the gh-pages branch

from jasper2.

dhaksr avatar dhaksr commented on June 11, 2024

I will try that. But if my workflow action works correctly, should it not build gh-pages in my repository?
If my understanding is incorrect, can the readme of jasper2 be updated to reflect this fork step to be done?
Initially i thought its the privelege escalation or lack of access to my repository.. but now I think my workflow is not triggered at all.

Looks like few others are also facing some issues in setup (i found this https://dev.to/bauripalash/comment/528o).
Its not my exact situation, i am trying to do on github itself - most others are trying with local copy.

from jasper2.

mikelor avatar mikelor commented on June 11, 2024

Ah, I see, I haven't tried the link you provided, but that looks like it should work. When I look at your two sample repos, you haven't committed everything back, you only have a couple of files and only a "master" branch.

The downside of this approach, doing a git clone, and then creating a new repo is that you lose touch with the jekyllt/jasper2 so any new changes will be difficult to incorporate. I won't have time to investigate further until the weekend, good luck!

from jasper2.

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.