Skip to content

Update dependency go to v1.22.0 #84

Update dependency go to v1.22.0

Update dependency go to v1.22.0 #84

on:
push:
branches:
- main
jobs:
update_hugo_dependencies:
name: Update Hugo Dependencies
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.122.0"
extended: true
- name: Write composite package.json
run: hugo mod npm pack
- name: Install npm Packages
run: npm install
- name: Display Changes
run: git status
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update Hugo Dependencies
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>