Skip to content

chore(master): release 0.2.0 #21

chore(master): release 0.2.0

chore(master): release 0.2.0 #21

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt-get install libsqlite3-dev
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run Specs
run: |
bundle exec rake
- name: Deploy
if: github.ref == 'refs/heads/master' && !contains(github.event.commits[0].message, '[skip deploy]')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "Bongloy"
mkdir -p ~/.gem
echo -e "---\r\n:rubygems_api_key: $GEM_HOST_API_KEY" > ~/.gem/credentials
chmod 0600 ~/.gem/credentials
bundle exec rake release