These are the setup steps that are automated by setup.yaml
-
Click the button to create a copy of this repo in your account.
-
Follow these instructions to create an ssh-deploy key. Make sure you select Allow write access when adding this key to your GitHub account.
-
Follow these instructions to upload your deploy key as an encrypted secret on GitHub. Make sure you name your key
SSH_DEPLOY_KEY
. Note: The deploy key secret is your private key (NOT the public key). -
Create a branch named
gh-pages
. -
Change the badges on this README to point to your repository instead of
fastai/fastpages
. Badges are organized in a section at the beginning of this README. For example, you should replacefastai
andfastpages
in the below url:![](https://github.com/fastai/fastpages/workflows/CI/badge.svg)
to
![](https://github.com/{your-username}/{your-repo-name}/workflows/CI/badge.svg)
-
Change
baseurl:
in_config.yaml
to the name of your repository. For example, instead ofbaseurl: "/fastpages"
this should be
baseurl: "/your-repo-name"
-
Similarly, change the
url:
parameter in_config.yaml
to the url your blog will be served on. For example, instead ofurl: "https://fastpages.fast.ai/"
this should be
url: "https://<your-user-name>.github.io"
-
Read through
_config.yaml
carefully as there may be other options that must be set. The comments in this file will provide instructions. -
Delete the
CNAME
file from the root of yourmaster
branch (or change it if you are using a custom domain) -
Go to your repository settings and enable GitHub Pages with the
gh-pages
branch you created earlier.