-
Notifications
You must be signed in to change notification settings - Fork 479
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
Out-of-repo deployment doesn't work for me #2403
Comments
Remove the ".git" in |
Thank! Yes, the path looks better now, but although this link looks valid https://github.com/JuliaGraphics/Luxor.jl/actions/runs/7544837907/job/20539088958#step:7:508 there's still an access error. Perhaps the secret keys aren't correctly set. |
Yeah, that looks like the secrets aren’t set up right in the two repositories |
I’ll try and do them again tomorrow. It’s by far the worst aspect of working with Julia… 😂 |
I'd try deleting all keys and secrets from both repos and start from scratch with |
@mortenpi Does my screenshot above look correct? It’s my best guess based on the current documentation… |
Don't think you have Any reason you're trying to configure an environment, rather than just setting up a global secret? I assume the workflow just doesn't have access to the environment.. I think you have to explicitly tell a workflow to use an environment. |
I have no idea 😀I think the output of |
Should be in "Secrets and variables" |
Thanks... I'm obviously the only one to be confused by this but I don't get it at all :( The Secrets tab has 3 secrets panels - the Documenter docs say "Add the DOCUMENTER_KEY secret to the "source" repository". The
I can't see any 'global secrets? Just 'Environment Secrets', 'Repository Secrets' and 'Organisation Secrets'. I'll try copying "the secure environment variable named 'DOCUMENTER_KEY'" to the "Actions secrets and variables/Environment secrets" panel and see if that works. Thanks for the help though! :) |
I'm confused about this myself. I have the impression that the Github UI is somewhat redundant: the same "secrets" are accessible in multiple places, as far as I can tell. They've also changed the UI over the last year or so. At some point, we should change But basically, the SSH key goes into Security > Deploy Keys And the Those screenshots are from a standard setup where the documentation is deployed to the same repository. I guess for out-of-repo deployment those two settings are just in different repositories, but otherwise it's the same. I haven't set up out-of-repo deployment myself, though. |
Thanks, @goerz - the pictures are worth a thousand words. I think I have set the keys and secrets correctly now. As you say I think Github must have changed the UI recently... The error now is :
so I'll try again later this weekend to see if this "temporary failure" really is temporary, or is the next obstacle for me. |
The line |
Thanks! I’ll try that again (it didn’t work before, but perhaps it will work better with the new secrets…). |
It finally works. Thanks for your help! |
My pleasure! It's the least I can do as a small Thank You for JuliaMono! |
I'm trying to move
https://github.com/JuliaGraphics/Luxor.jl
docs tohttps://github.com/JuliaGraphics/LuxorManual
. I followed the instructions in the Documenter docs here.The two keys were added to the correct locations, as far as I can tell, and the
make.jl
was updated with this:The error message here says:
so it's possible the
make.jl
code I added is wrong, but not sure how...?The text was updated successfully, but these errors were encountered: