mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-05 12:57:52 +00:00
ea2dd7c4fb
We no longer run the `configure` script on the host. Instead, we run a container that generates the configuration files. This opens the way for more complex configuration templates that would be written in jinja2. More complex templates are required for feature flags, such as SSL, XQUEUE, etc.
15 lines
277 B
YAML
15 lines
277 B
YAML
language: python
|
|
services:
|
|
- docker
|
|
script:
|
|
- make build
|
|
- make configure SILENT=1
|
|
- make migrate
|
|
#- make assets # too time-consuming
|
|
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
|
|
deploy:
|
|
provider: script
|
|
script: make push
|
|
on:
|
|
branch: master
|