From 5e5956d9184fbced065641554f3c2c2ad849c402 Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Sat, 19 Mar 2022 22:43:43 +0100 Subject: [PATCH] officialized as terraform module --- .github/workflows/publish-terraform.yaml | 21 +++++++++++++++++++++ .gitignore | 4 +--- 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/publish-terraform.yaml diff --git a/.github/workflows/publish-terraform.yaml b/.github/workflows/publish-terraform.yaml new file mode 100644 index 0000000..6fccf8f --- /dev/null +++ b/.github/workflows/publish-terraform.yaml @@ -0,0 +1,21 @@ +--- +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 }} diff --git a/.gitignore b/.gitignore index 5b03655..5f02e99 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,4 @@ kubeconfig.yaml-e terraform.tfvars plans-custom.yaml traefik-custom.yaml -kured-custom.yaml -.github/workflows/publish-terraform.yaml -.github/workflows/sync-with-upstream.yaml \ No newline at end of file +kured-custom.yaml \ No newline at end of file