.gitlab-ci.yml 613 Bytes
Newer Older
okhin's avatar
okhin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
job install:
        script:
                - source /srv/memopol/memopol_env/bin/activate
                - cd /srv/memopol/memopol_env/src/memopol
                - git fetch origin
                - git reset --hard origin/master
                - find . -name '*.pyc' -delete
                - pip install -Ue .
                - src/memopol/bin/install_client_deps.sh
                - memopol migrate --noinput
                - memopol collectstatic --noinput
                - touch /etc/uwsgi/apps-enabled/memopol.ini
        stage: deploy
okhin's avatar
okhin committed
14
        tags: [memopol]
okhin's avatar
okhin committed
15
16
        only:
                - master