Add github action to publish new releases
This commit is contained in:
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:
|
on:
|
||||||
push:
|
push:
|
Reference in New Issue
Block a user