Closed Bryan-Roe closed 1 month ago
This pull request adds a new GitHub Actions workflow file named 'hugo.yml' to automate the process of building and deploying a Hugo site to GitHub Pages. The workflow is triggered on pushes to the main branch or can be manually run from the Actions tab. It sets up the necessary permissions, installs Hugo CLI and Dart Sass, checks out the repository, builds the Hugo site, and deploys it to GitHub Pages.
Files | Changes |
---|---|
.github/workflows/hugo.yml |
Defines a new GitHub Actions workflow for building and deploying a Hugo site |
.github/workflows/hugo.yml |
Sets up workflow triggers for pushes to the main branch and manual execution |
.github/workflows/hugo.yml |
Configures permissions for GitHub token to allow deployment to GitHub Pages |
.github/workflows/hugo.yml |
Implements concurrency settings to manage multiple deployment attempts |
.github/workflows/hugo.yml |
Creates a build job that installs Hugo CLI, Dart Sass, and sets up the build environment |
.github/workflows/hugo.yml |
Adds steps to build the Hugo site with specific configurations and environment variables |
.github/workflows/hugo.yml |
Implements a deployment job that deploys the built site to GitHub Pages |
Motivation and Context
Description
Contribution Checklist
Summary by Sourcery
Introduce a GitHub Actions workflow for automating the build and deployment of a Hugo site to GitHub Pages, triggered on pushes to the main branch or manually from the Actions tab.
CI: