Hello,
I have a source repo containing the markdown files, and a public repo which is my user repo mostafatouny/mostafatouny.github.io. I am trying to setup a github workflow so that my source repo successfully builds and pushes into my user repo.
I saw this and it had successfully deployed on mostafatouny.github.io/start-blog as expected. I don’t know how to modify it. I found some online workflows scripts but they seem all outdated and caused build errors.
I prefer to push into public repo using personal access key rather than public-private SSH keys.
I don’t need two different repos. I only want to push to my user repo mostafatouny/mostafatouny.github.io so that my website is live on mostafatouny.github.io. I am not aware of any other method to achieve that.
It might be more clarifying to mention: that github workflow script deploys the website to the base url configured in configure.yaml, which is supposed to be
https://<username>.github.io/<repo> if project repo <username>/<repo>.
https://<username>.github.io if user repo <username>/<username>.github.io.
https://<organization>.github.io if organization repo <organization>/<organization>.github.io.