From df276d012bcff2483d33bd90086f53183ef5918c Mon Sep 17 00:00:00 2001 From: Dan Webb Date: Sun, 3 Apr 2022 17:05:51 +0100 Subject: [PATCH] Publish gem to GitHub (#237) * Add publish workflow for GitHub gem Signed-off-by: Dan Webb * Fix yaml formatting Signed-off-by: Dan Webb Co-authored-by: Tim Smith --- .github/workflows/publish.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..a3d7b1b --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,17 @@ +--- +name: Publish + +'on': + release: + types: [published] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build and publish gem + uses: jstastny/publish-gem-to-github@master + with: + token: ${{ secrets.GITHUB_TOKEN }} + owner: ${{ secrets.OWNER }}