Correct the documentation for personal/organization and manual deployments (#351)
This commit is contained in:
parent
4d5f2dccff
commit
8fe464d30a
@ -127,18 +127,16 @@ Starting version [v0.3.5](https://github.com/alshedivat/al-folio/releases/tag/v0
|
||||
- Click on **Actions** tab and **Enable GitHub Actions**; you no need to worry about creating any workflows as everything has already been set for you.
|
||||
- Make sure the `url` and `baseurl` fields in `_config.yml` are empty.
|
||||
- Make any other changes to your webpage, commit, and push. This will automatically trigger the **Deploy** action.
|
||||
- Wait for a few minutes and let the action complete. You can see the progress in the **Actions** tab. If completed successfully, in addition to the `source` branch, your repository should now have a newly built `master` branch.
|
||||
- Finally, in the **Settings**, in the Pages section, set the branch to `gh-pages` (**NOT** to `master`).
|
||||
- Wait for a few minutes and let the action complete. You can see the progress in the **Actions** tab. If completed successfully, in addition to the `master` branch, your repository should now have a newly built `gh-pages` branch.
|
||||
- Finally, in the **Settings**, in the Pages section, set the branch to `gh-pages` (**NOT** to `master`). See [Configuring a publishing source for your GitHub Pages site](https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#choosing-a-publishing-source) for more details.
|
||||
|
||||
<details><summary><strong>Manual deployment to GitHub Pages:</strong></summary>
|
||||
|
||||
If you need to manually re-deploy your website to GitHub pages, run the deploy script from the root directory of your repository:
|
||||
```bash
|
||||
$ ./bin/deploy [--user]
|
||||
$ ./bin/deploy
|
||||
```
|
||||
uses the `master` branch for the source code and deploys the webpage to `gh-pages`.
|
||||
The optional flag `--user` tells it to deploy to `master` and use `source` for the source code instead.
|
||||
Using `master` for deployment is a convention for [user and organization pages](https://help.github.com/articles/user-organization-and-project-pages/).
|
||||
|
||||
</details>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user