Update dependency go to v1.22.6 #121
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
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@v3 | |
with: | |
hugo-version: "0.127.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> |