hugoのバージョンを上げた
github pages / deploy (push) Successful in 2m11s Details

This commit is contained in:
usbharu 2024-12-08 14:31:51 +09:00
parent d6f2283e1b
commit 555c217f46
Signed by: usbharu
GPG Key ID: 95CBCF7046307B77
1 changed files with 13 additions and 13 deletions

View File

@ -3,23 +3,23 @@ name: github pages
on:
push:
branches:
- master # Set a branch name to trigger deployment
- master # Set a branch name to trigger deployment
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.115.0"
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.139.3"
- name: Build
run: hugo --minify
- run: npm ci
- run: CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }} npx wrangler pages publish public --project-name blog-usbharu
- name: Build
run: hugo --minify
- run: npm ci
- run: CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }} npx wrangler pages publish public --project-name blog-usbharu