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