Work with Github Pages

Execution Sequence

  1. From our workshop2 repository interface on Github
  • Select Settings

PAGES

  1. We will be redirected to the Settings page
  • Select Pages
  • In the Source field, select Github Actions
  • In the Hugo field, chọn Configure

PAGES

  1. We will be redirected to the Edit Workflows page
  • We proceed to edit
        run: |
          hugo \
            --minify \
            --baseURL "${{ steps.pages.outputs.base_url }}/"

PAGES

  • To
        run: |
          hugo --minify

PAGES

  1. Select Commit changes… PAGES

  2. Commit changes interface appears, select Commit changes PAGES