terraform-hcloud-kube-hetzner/.github/workflows/publish-terraform.yaml
2022-03-19 22:43:43 +01:00

22 lines
407 B
YAML

---
name: Publish a new Github Release
on:
push:
tags:
- '*'
workflow_dispatch:
tags:
- '*'
jobs:
Release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
name: 'v${{ github.ref_name }}'
token: ${{ secrets.GITHUB_TOKEN }}