mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-07 07:54:03 +00:00
3b215c9f88
This allows us to deploy much faster: all we have to do is to copy the assets from the container to the shared volume. We also changed the way themes are managed: similarly to static assets, they are now packaged inside the docker image.
15 lines
389 B
YAML
15 lines
389 B
YAML
language: minimal
|
|
services:
|
|
- docker
|
|
script:
|
|
- make configure SILENT=1 CONFIGURE_OPTS="-e SETTING_ACTIVATE_NOTES=1 -e SETTING_ACTIVATE_XQUEUE=1"
|
|
- make build
|
|
- make databases
|
|
- make assets
|
|
deploy:
|
|
provider: script
|
|
script: docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" && make push
|
|
on:
|
|
all_branches: true
|
|
condition: $TRAVIS_BRANCH =~ ^master|release\/.*$
|