postal/.circleci/config.yml
2018-05-26 20:20:45 -04:00

28 lines
559 B
YAML

version: 2
jobs:
build:
machine: true
steps:
- checkout
- run:
name: Build Postal Docker Container
command: docker build -t postal:dev .
- run:
name: Skip this job for Pull Requests
command: '[[ ! -v CIRCLE_PR_NUMBER ]] && circleci step halt || true'
workflows:
version: 2
nightly:
triggers:
- schedule:
cron: "0 * * * *"
filters:
branches:
only:
- master
jobs:
- build
commit:
jobs:
- build