mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 05:04:57 -04:00
Hosting on GitHub: Little wording fixes and update Ubuntu runner in example workflow to 20.04 (#1457)
This commit is contained in:
parent
e47b6c33a4
commit
0c33b05de5
@ -17,7 +17,7 @@ toc: true
|
|||||||
aliases: [/tutorials/github-pages-blog/]
|
aliases: [/tutorials/github-pages-blog/]
|
||||||
---
|
---
|
||||||
|
|
||||||
GitHub provides free and fast static hosting over SSL for personal, organization, or project pages directly from a GitHub repository via its [GitHub Pages service][] and automate development workflows and build with [GitHub Actions].
|
GitHub provides free and fast static hosting over SSL for personal, organization, or project pages directly from a GitHub repository via its [GitHub Pages service][] and automating development workflows and build with [GitHub Actions].
|
||||||
|
|
||||||
## Assumptions
|
## Assumptions
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ This is a much simpler setup as your Hugo files and generated content are publis
|
|||||||
|
|
||||||
## Build Hugo With GitHub Action
|
## Build Hugo With GitHub Action
|
||||||
|
|
||||||
GitHub execute your software development workflows. Everytime you push your code on the Github repository, Github Action will build the site automatically.
|
GitHub executes your software development workflows. Everytime you push your code on the Github repository, Github Actions will build the site automatically.
|
||||||
|
|
||||||
Create a file in `.github/workflows/gh-pages.yml` containing the following content (based on https://github.com/marketplace/actions/hugo-setup ):
|
Create a file in `.github/workflows/gh-pages.yml` containing the following content (based on https://github.com/marketplace/actions/hugo-setup ):
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user