-
Notifications
You must be signed in to change notification settings - Fork 164
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
Switch docs deployment from Travis CI to GitHub Actions #563
Conversation
It is not exposed. It is encrypted. |
@mloskot I am sorry for not looking at the docs prior to asking. Thanks for the help sir. |
What's the status of this? |
@mloskot Its already completed. Only the GIL_Token secret needs to be implemented at your end |
@gopi487krishna I don;'t have much experience with the GitHub Actions yet, I wonder, does it have to be named |
@mloskot No sir, It can be named anything as per your wish. Here are the steps just in case any confusion exists |
@mloskot The secret name should be the name here ( which you named earlier) |
@gopi487krishna Thanks for the very detailed guide. I've realised, interestingly, that I can not use Apparently, it is a reserved name because, as per https://docs.github.com/en/actions/reference/authentication-in-a-workflow
So, I'm trying it here 745d033 The GA job failed. I think, to publish generated content to The gil/.github/actions/generate-publish-doc/upload-script.sh Lines 21 to 25 in 745d033
./public directory from which the new docs are deployed with the action, as per the https://github.com/peaceiris/actions-gh-pages
|
@mloskot Sir is creating a PAT on your end not possible? |
It's possible, but I'd prefer to ride on giants shoulder - if I can remove scripts replacing them with simple 3 lines, then it's my preference, less code to maintain the better. Don't worry I'll sort it out. Thanks |
@mloskot Yup you are right sir. I looked at one of the stack overflow posts to see if organizational access tokens can be created, as it turns out its not implemented for organizations at all. So a member of the organization used to typically create a PAT to do it . This as the first comment in the answer says is not a good way to do stuff and instead relying on GITHUB_TOKEN is the best thing |
@mloskot I can do it by the evening if you want sir. I think its simple to do it. We have to only remove the staging,commiting and pushing part from the upload script and we can set the publish_dir directly to the temporary directory and boom the thing works |
@gopi487krishna Help and contributions are highly appreciated, so if you want to give it a go, please do. |
Migration of Documentation Deployment From Travis CI to GitHub Actions
This pull request is in reference to the issue #549 .
Changes Made
References
#549
Tasklist