gentoo-config-luks2-grub-systemd: Update for GRUB 2.12 #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Hugo Site CI" | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # For Hugo's '.GitInfo' | |
- name: "Set up Hugo" | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: 'latest' | |
extended: true | |
- name: "Build the site with Hugo" | |
run: hugo | |
- name: "Upload the site as an artifact" | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: "public/" | |
deploy: | |
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) | |
needs: build | |
concurrency: | |
group: 'github-pages' | |
cancel-in-progress: true | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Deploy the site to GitHub Pages" | |
id: deployment | |
uses: actions/deploy-pages@v1 |