title | linkTitle | date | draft | series | categories | tags | images | authors | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Deploy Site on Github Pages |
GitHub Pages |
2023-04-14 21:15:18 +0800 |
false |
|
|
|
|
This guide shows how to deploy your site on GitHub Pages via GitHub Actions.
- Click to Settings tab.
- Navigate to Pages.
- Pick the GitHUb Actions as Source.
- Optional: setup the custom domain.
Create the following workflow and commit it to repo.
{{% bs/collapse ".github/workflows/gh-pages.yaml" primary true %}} {{% code-snippet workflow.yaml %}} {{% /bs/collapse %}}