From 6a853b60cc291deb21ddaec2bf5e1f12c92544b3 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Mon, 24 Feb 2020 19:39:11 +0100 Subject: [PATCH] Add Continuous Deployment Workflow --- .github/workflows/continuous-deployment.yml | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/continuous-deployment.yml diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml new file mode 100644 index 0000000..b91f7d5 --- /dev/null +++ b/.github/workflows/continuous-deployment.yml @@ -0,0 +1,29 @@ +# https://help.github.com/en/categories/automating-your-workflow-with-github-actions + +name: "Continuous Deployment" + +on: + push: + tags: + - "**" + +jobs: + release: + name: "Release" + + runs-on: "ubuntu-latest" + + steps: + - name: "Determine tag" + id: "determine-tag" + run: "echo \"::set-output name=tag::${GITHUB_REF#refs/tags/}\"" + + - name: "Create release" + uses: "actions/create-release@v1.0.0" + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + with: + draft: false + prerelease: false + release_name: "${{ steps.determine-tag.outputs.tag }}" + tag_name: "${{ steps.determine-tag.outputs.tag }}"