2017-07-15 09:50:26 +00:00
|
|
|
language: php
|
2017-07-15 10:03:21 +00:00
|
|
|
php: 7
|
|
|
|
sudo: true
|
2017-07-24 14:53:41 +00:00
|
|
|
|
2017-07-15 10:00:04 +00:00
|
|
|
branches:
|
2017-07-20 18:56:25 +00:00
|
|
|
only:
|
2017-07-24 23:48:21 +00:00
|
|
|
- source
|
2017-07-24 14:53:41 +00:00
|
|
|
|
2017-07-15 09:59:28 +00:00
|
|
|
cache:
|
2017-07-20 18:56:25 +00:00
|
|
|
directories:
|
2017-07-24 14:53:41 +00:00
|
|
|
- $HOME/.composer/cache
|
|
|
|
|
2017-07-15 10:25:02 +00:00
|
|
|
before_install:
|
2017-07-24 16:02:49 +00:00
|
|
|
- openssl aes-256-cbc -K $encrypted_01701315b81b_key -iv $encrypted_01701315b81b_iv -in deploy_key.enc -out deploy_key -d
|
2017-07-24 16:47:40 +00:00
|
|
|
- chmod 600 deploy_key
|
|
|
|
- eval `ssh-agent -s`
|
|
|
|
- ssh-add deploy_key
|
2017-08-03 00:40:23 +00:00
|
|
|
- yarn --pure-lockfile
|
2017-07-24 14:53:41 +00:00
|
|
|
- composer install --prefer-dist --no-dev
|
|
|
|
|
|
|
|
script: ./publish.sh
|
|
|
|
|
2017-07-20 18:56:25 +00:00
|
|
|
env:
|
|
|
|
global:
|
2017-07-24 14:53:41 +00:00
|
|
|
- ENCRYPTION_LABEL: 01701315b81b
|
|
|
|
- COMMIT_AUTHOR_EMAIL: "oliver@oliverdavies.uk"
|