Skip to content

Commit

Permalink
Convert to Github Actions
Browse files Browse the repository at this point in the history
There are no tests in this repo so it only adds a release job.
  • Loading branch information
ekohl committed Dec 8, 2020
1 parent bb5a2a0 commit ddcf483
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release

on:
create:
ref_type: tag

jobs:
release:
runs-on: ubuntu-latest
if: github.repository == 'voxpupuli/voxpupuli-acceptance'
steps:
- uses: actions/checkout@v2
- name: Install Ruby 2.7
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Build gem
run: gem build *.gemspec
- name: Publish gem
run: gem push *.gem
env:
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit ddcf483

Please sign in to comment.