Skip to content

Commit

Permalink
Publish gem to GitHub (#237)
Browse files Browse the repository at this point in the history
* Add publish workflow for GitHub gem

Signed-off-by: Dan Webb <[email protected]>

* Fix yaml formatting

Signed-off-by: Dan Webb <[email protected]>

Co-authored-by: Tim Smith <[email protected]>
  • Loading branch information
damacus and tas50 authored Apr 3, 2022
1 parent c36381e commit df276d0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit df276d0

Please sign in to comment.