-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (28 loc) · 814 Bytes
/
Copy pathproduction.yml
File metadata and controls
35 lines (28 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Hospital System Production CI
on:
pull_request:
branches:
- master
jobs:
build:
env:
JAVA_PROFILES_ATIVE: dev
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Run Docker-Compouse
run: docker-compose up -d --build
- name: Run API Tests
id: run-newman
uses: anthonyvscode/newman-action@v1
with:
collection: collection.json
reporters: cli
- name: Output summary to console
run: echo ${{ steps.run-newman.outputs.summary }}
- uses: akhileshns/heroku-deploy@v3.4.6
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: ${{secrets.HEROKU_NAME_PROD}}
heroku_email: ${{secrets.HEROKU_USER_EMAIL}}