Add github action to publish new releases
This commit is contained in:
parent
4c1e1e85f7
commit
af406ad0fd
19
.github/workflows/publish-terraform.yaml
vendored
Normal file
19
.github/workflows/publish-terraform.yaml
vendored
Normal 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 }}
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
name: Terraform
|
||||
name: Validate Terraform
|
||||
|
||||
on:
|
||||
push:
|
Loading…
Reference in New Issue
Block a user