2023-04-02 13:28:57 +02:00
|
|
|
name: Deploy
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-04-02 13:59:59 +02:00
|
|
|
- uses: actions/checkout@v3
|
2023-04-02 14:15:27 +02:00
|
|
|
with:
|
|
|
|
ref: 'master'
|
2023-04-02 13:55:51 +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 14:12:53 +02:00
|
|
|
- uses: akhileshns/heroku-deploy@v3.12.13
|
2023-04-02 13:28:57 +02:00
|
|
|
with:
|
2023-04-02 22:40:57 +02:00
|
|
|
branch: "master"
|
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"
|