Skip to content

Documentation for v0.134.0 #220

Documentation for v0.134.0

Documentation for v0.134.0 #220

Workflow file for this run

name: Release action-hugo
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
release:
outputs:
version: ${{ steps.cleanup.outputs.version }}
name: Create action-hugo release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.1.1
- name: Create action-hugo release
id: create_release
uses: actions/create-release@v1.1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Release for Hugo version ${{ github.ref }}
- id: cleanup
name: Cleanup build branch
run: |
VERSION=$(cat BUILD_VERSION)
git config --global user.email "github@utahcon.com"
git config --global user.name "Adam Barrett"
git push origin :refs/tags/build-${VERSION} || true
git push origin :build-${VERSION} || true