Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 672 Bytes

index.en.md

File metadata and controls

34 lines (27 loc) · 672 Bytes
title linkTitle date draft series categories tags images authors
Deploy Site on Github Pages
GitHub Pages
2023-04-14 21:15:18 +0800
false
Docs
Deployment
GitHub Pages
HB

This guide shows how to deploy your site on GitHub Pages via GitHub Actions.

Enable GitHub Pages on Repo

  1. Click to Settings tab.
  2. Navigate to Pages.
  3. Pick the GitHUb Actions as Source.
  4. Optional: setup the custom domain.

Create GitHub Pages Workflow

Create the following workflow and commit it to repo.

{{% bs/collapse ".github/workflows/gh-pages.yaml" primary true %}} {{% code-snippet workflow.yaml %}} {{% /bs/collapse %}}