Add circleci config
This commit is contained in:
parent
c3667ec4b9
commit
4d35cebf65
1 changed files with 17 additions and 0 deletions
17
.circleci/config.yml
Normal file
17
.circleci/config.yml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: circleci/python:3-stretch
|
||||||
|
working_directory: ~/website
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- setup_remote_docker
|
||||||
|
- run:
|
||||||
|
name: Install Docker Compose
|
||||||
|
command: |
|
||||||
|
curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-`uname -s`-`uname -m` > ~/docker-compose
|
||||||
|
chmod +x ~/docker-compose
|
||||||
|
sudo mv ~/docker-compose /usr/local/bin/docker-compose
|
||||||
|
- run: docker-compose build
|
||||||
|
- run: ./production.sh build
|
Reference in a new issue