stadtratmonitor/.github/workflows/master.yaml

20 lines
481 B
YAML
Raw Normal View History

2023-04-02 13:28:57 +02:00
name: Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2023-04-02 13:37:13 +02:00
- run: docker-compose build
- run: docker-compose run web rake db:setup
- run: docker-compose run web bin/run-tests
2023-04-02 13:28:57 +02:00
- uses: CDNievas/heroku-action@v1.0
with:
2023-04-02 13:38:25 +02:00
heroku_email: ${{secrets.HEROKU_EMAIL}}
2023-04-02 13:28:57 +02:00
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "stadtratmonitor"