Closed capsulecorplab closed 3 years ago
Pushing to deploy branch will trigger GitHub Actions to run the build.sh script and publish output (contents of public/) to GitHub Pages. (See github/workflows/deploy.yml for details)
deploy
build.sh
public/
github/workflows/deploy.yml
Note: publish_dir (in github/workflows/deploy.yml) will need to be changed to master, if you later decide to migrate the static site to a user/organization page. See https://stackoverflow.com/questions/25559292/github-page-shows-master-branch-not-gh-pages
publish_dir
master
You will need to generate a public and private ssh key, then add them to Deploy keys and Secrets, respectively, in the GitHub repo settings. Follow instructions in https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-create-ssh-deploy-key
Deploy keys
Secrets
Site preview available on https://capsulecorplab.github.io/dof/
Workflow
Pushing to
deploy
branch will trigger GitHub Actions to run thebuild.sh
script and publish output (contents ofpublic/
) to GitHub Pages. (Seegithub/workflows/deploy.yml
for details)Note:
publish_dir
(ingithub/workflows/deploy.yml
) will need to be changed tomaster
, if you later decide to migrate the static site to a user/organization page. See https://stackoverflow.com/questions/25559292/github-page-shows-master-branch-not-gh-pagesConfiguration
You will need to generate a public and private ssh key, then add them to
Deploy keys
andSecrets
, respectively, in the GitHub repo settings. Follow instructions in https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-create-ssh-deploy-keyPreview
Site preview available on https://capsulecorplab.github.io/dof/