name: Publish Gem on: push: branches: - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 2 - name: Release Gem uses: discourse/publish-rubygems-action@4bd305c65315cb691bad1e8de97a87aaf29a0a85 env: RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}} RELEASE_COMMAND: rake release GIT_EMAIL: support@salemove.com GIT_NAME: sm-deployer