Skip to content

サイトデザイン更新、CHALLENGE SEASON12 開催概要、hugo buildFuture 有効化 #8

サイトデザイン更新、CHALLENGE SEASON12 開催概要、hugo buildFuture 有効化

サイトデザイン更新、CHALLENGE SEASON12 開催概要、hugo buildFuture 有効化 #8

Workflow file for this run

# Build Hugo and deploy to GitHub Pages (gh-pages branch)
# https://gohugo.io/hosting-and-deployment/hosting-on-github/
name: Deploy to GitHub Pages
on:
push:
branches: [ master ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Build
run: hugo --minify
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4