Add github action to publish new releases

This commit is contained in:
phaer 2022-03-15 00:45:34 +01:00
parent 4c1e1e85f7
commit af406ad0fd
2 changed files with 20 additions and 1 deletions

View File

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

View File

@ -1,5 +1,5 @@
---
name: Terraform
name: Validate Terraform
on:
push: