-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 846 Bytes
/
main.yaml
File metadata and controls
37 lines (32 loc) · 846 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
36
37
name: Deploy
on:
push:
branches:
- main
jobs:
# # JOB to run change detection
# changes:
# runs-on: ubuntu-latest
# # Set job outputs to values from filter step
# outputs:
# api: ${{ steps.filter.outputs.api }}
# steps:
# - name: Checkout source code
# uses: actions/checkout@v2
# - uses: dorny/paths-filter@v2
# id: filter
# with:
# filters: |
# api:
# - 'packages/api/**'
build:
# needs: changes
# if: needs.steps.filter.outputs.api == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: akhileshns/heroku-deploy@v3.12.12
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "nq-boilerplate"
heroku_email: "info@noquarter.co"