ci: heroku config

This commit is contained in:
Reinaldy Rafli 2021-07-09 20:31:15 +07:00
parent 17b530d86c
commit 3b66f0de25
2 changed files with 6 additions and 2 deletions

View File

@ -11,7 +11,7 @@ on:
jobs: jobs:
client-build: client-build:
name: Build name: Build
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
defaults: defaults:
run: run:
@ -24,7 +24,7 @@ jobs:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v2.1.5 uses: actions/setup-node@v2.1.5
with: with:
node-version: ${{ matrix.node }} node-version: 14.x
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path

4
heroku.yml Normal file
View File

@ -0,0 +1,4 @@
build:
web: cd api && go build -v main.go
run:
web: ./api/main