Zero manual setup to deploy #650
Replies: 2 comments 1 reply
-
Adding secrets to the repository?Quote from
Don't want to manually click through all their repositories to enable GitHub PagesBasically, a user needs to enable the GitHub Pages manually because the GitHub Pages cannot dertermine which branch is used for the production branch. You can call the GitHub Pages REST API as an admin of the classroom. Note that |
Beta Was this translation helpful? Give feedback.
-
Well github should know it since the
Adding my PAT to the github action running in student's repository would mean they would have access to it right and there is no way of keeping it secret. |
Beta Was this translation helpful? Give feedback.
-
I'm teaching a React course using Github Classroom and am trying to use this action alongside other steps to build and deploy student's repository to gh-pages for review. If you are not familiar with Classroom, it basically creates new repositories from a template repository for each student. This way I can also do some automations with Actions.
Is there a way to get around having to manually do these steps or any other steps like adding secrets to the repository? If possible I would like to avoid giving the students admin privileges for the repositories without which they can't access the Pages settings and I also really don't want to manually click through all their repositories to enable gh-pages.
Beta Was this translation helpful? Give feedback.
All reactions