Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Merge pull request #254 from Cantido/dependabot/hex/hammer-6.2.1 #163

Merge pull request #254 from Cantido/dependabot/hex/hammer-6.2.1

Merge pull request #254 from Cantido/dependabot/hex/hammer-6.2.1 #163

Workflow file for this run

name: github pages
on:
push:
branches:
- main # Set a branch that will trigger a deployment
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
- name: Build
run: hugo -s site --minify
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './site/public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1