Skip to content

Update GoHugo version for Netlify #487

Update GoHugo version for Netlify

Update GoHugo version for Netlify #487

---
name: Update GoHugo version for Netlify
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
jobs:
build:
name: Update GoHugo version for Netlify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: google/wireit@setup-github-actions-caching/v1
- run: |
${GITHUB_WORKSPACE}/bin/netlify/update-hugo-version > "${GITHUB_WORKSPACE}/netlify.toml"
- name: Create Pull Request
id: pr
uses: peter-evans/create-pull-request@v5
with:
commit-message: "chore(config): update Netlify configuration"
committer: Patrick Kollitsch <[email protected]>
author: Patrick Kollitsch <[email protected]>
signoff: true
branch: config/netlify
delete-branch: true
title: "chore(config): update GoHugo version in netlify.toml"
body: Update netlify.toml with current latest GoHugo version number
assignees: davidsneighbour
reviewers: davidsneighbour
- name: Check outputs
run: |
echo "Pull Request Number - ${{ steps.pr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.pr.outputs.pull-request-url }}"