Skip to content

Instantly share code, notes, and snippets.

@johnbeynon
Created March 17, 2022 14:37
Show Gist options
  • Save johnbeynon/8ca6c1145c0990ce38bc6ab73e54e44c to your computer and use it in GitHub Desktop.
Save johnbeynon/8ca6c1145c0990ce38bc6ab73e54e44c to your computer and use it in GitHub Desktop.
services:
- type: web
context: ./static
name: passthrough
branch: master
env: static
buildCommand: echo "hi"
staticPublishPath: .
buildTriggers:
includedPaths:
- foo/baz/
- foo/bar/
ignoredPaths:
- foo/baz/docs/
- type: web
context: ./server
name: go-server
branch: master
buildTriggers:
paths:
- ./
env: go
buildCommand: go build -o app .
startCommand: ./app
envVars:
- key: API_HOST
fromService:
name: passthrough
type: web
envVarKey: RENDER_EXTERNAL_URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment