Skip to content

Update Hugo version to 0.140.1 #44

Update Hugo version to 0.140.1

Update Hugo version to 0.140.1 #44

Workflow file for this run

name: auto-tag
on:
pull_request:
types: [closed]
jobs:
merge_job:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- run: echo "PR ${{ github.event.number }} has been merged"
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- id: version
run: |
hugo_version=$(cat Dockerfile|grep 'ARG HUGO_VERSION='|awk '{split($2,v,"=");print v[2]}')
echo "hugo_version=v${hugo_version}" >> $GITHUB_OUTPUT
- run: echo "${{ steps.version.outputs.hugo_version }}"
- uses: ./.github/actions/auto-tag
with:
tag: ${{ steps.version.outputs.hugo_version }}