JuliaHealth / juliahealth.github.io

Website for the JuliaHealth organization (powered by Franklin.jl).
https://juliahealth.org
14 stars 9 forks source link

CI: Use the latest stable Julia #116

Closed DilumAluthge closed 1 year ago

DilumAluthge commented 1 year ago

Hat-tip @tlienart

github-actions[bot] commented 1 year ago

Once the build has completed, you can preview your PR at this URL: https://juliahealth.org/juliahealth.github.io-previews/previews/PR116/

DilumAluthge commented 1 year ago

Looks like the preview deploy key needs to be regenerated.

TheCedarPrince commented 1 year ago

Oh wait, I think I just figured it out. Let me see if I can finish this right now.

DilumAluthge commented 1 year ago

We actually have two keypairs:

  1. Keypair 1. The public key is added as a deploy key (with write access) on this repo. The private key (Base64-encoded) is added as a GitHub secret on this repo named FRANKLIN_PRIV.
  2. Keypair 2. The public key is added as a deploy key (with write access) on the https://github.com/JuliaHealth/juliahealth.github.io-previews repo. The private key (Base64-encoded) is added as a GitHub secret on this repo named FRANKLIN_PRIV_PREVIEW
DilumAluthge commented 1 year ago

Actually, the private keys shouldn't be Base64-encoded. They should be in their original form, with each private key starting with a line that looks something like --- BEGIN PRIVATE KEY and ending with a line that looks something like --- END PRIVATE KEY.

TheCedarPrince commented 1 year ago

Ha HA! Take that GitHub Actions! We have freed this action from the fiery inferno of failed deployments

@DilumAluthge ! I am going to go ahead and merge since all checks are working and actions succeed. Previews look fantastic as well. Thanks for the guidance and help on this!

TheCedarPrince commented 1 year ago

Closes #114

DilumAluthge commented 1 year ago

@TheCedarPrince Can you update https://github.com/JuliaHealth/juliahealth.github.io/blob/dev/Project.toml to not pin to an old Franklin version?