Skip to content

Merge pull request #20 from sittercity/sc-178855 #5

Merge pull request #20 from sittercity/sc-178855

Merge pull request #20 from sittercity/sc-178855 #5

name: bureaucrat master
on:
push:
branches: [ master ]
jobs:
build:
name: Build + Publish
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.7
uses: ruby/setup-ruby@v1
- name: Publish to GPR
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:github: Bearer ${{ secrets.GITHUB_TOKEN }}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push --KEY github --host https://rubygems.pkg.github.com/sittercity *.gem