Sha256: 1b74e0c358c2418478d47920df75ee66543515c68f04df4bcf85e0e4b6485b7b
Contents?: true
Size: 1.29 KB
Versions: 2
Compression:
Stored size: 1.29 KB
Contents
name: Publish to Heroku on: push: branches: [master] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 3.0 - name: Install dependencies run: | cd demo/ bundle install bundle update qrcode_pix_ruby cd ../ - name: Define Heroku credentials run: | cat > ~/.netrc <<EOF machine api.heroku.com login $HEROKU_EMAIL password $HEROKU_API_KEY machine git.heroku.com login $HEROKU_EMAIL password $HEROKU_API_KEY EOF env: HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }} - name: Define Heroku git remote run: heroku git:remote --app $HEROKU_APP_NAME env: HEROKU_APP_NAME: ${{ secrets.HEROKU_APP_NAME }} - name: Publish to Heroku run: | git config user.name 'Pedro Furtado' git config user.email 'pedro.felipe.azevedo.furtado@gmail.com' git add --all git commit -m 'Publish to Heroku' git push heroku `git subtree split --prefix demo master`:master --force
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qrcode_pix_ruby-0.5.0 | .github/workflows/heroku.yml |
qrcode_pix_ruby-0.4.0 | .github/workflows/heroku.yml |