Skip to content

Heroku Stack upgrade, get CI tests running #769

Heroku Stack upgrade, get CI tests running

Heroku Stack upgrade, get CI tests running #769

Workflow file for this run

name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: adambirds/[email protected]
with:
compose-file: "./compose.yml"
down-flags: "--volumes"
test-container: app
test-command: "/app/ci.sh"
- name: Deploy to staging Heroku
env:
HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }}
HEROKU_APP_NAME: 'staging-makeworks'
if: github.ref == 'refs/heads/master' && job.status == 'success'
run: git push https://heroku:[email protected]/$HEROKU_APP_NAME.git origin/master:master --force