Merge pull request #839 from appwrite/feat-automated-deploy
Feat automated deploy
This commit is contained in:
commit
18956078b3
3 changed files with 14 additions and 1 deletions
1
.travis-ci/deploy.sh
Normal file
1
.travis-ci/deploy.sh
Normal file
|
@ -0,0 +1 @@
|
|||
echo 'Nothing to deploy right now.'
|
14
.travis.yml
14
.travis.yml
|
@ -1,9 +1,11 @@
|
|||
dist: xenial
|
||||
|
||||
arch:
|
||||
- amd64
|
||||
|
||||
os: linux
|
||||
|
||||
language: minimal
|
||||
language: shell
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
@ -23,6 +25,8 @@ before_install:
|
|||
echo "${DOCKERHUB_PULL_PASSWORD}" | docker login --username "${DOCKERHUB_PULL_USERNAME}" --password-stdin
|
||||
fi
|
||||
- docker --version
|
||||
- docker buildx create --use
|
||||
- chmod -R u+x ./.travis-ci
|
||||
|
||||
install:
|
||||
- docker-compose up -d
|
||||
|
@ -34,3 +38,11 @@ script:
|
|||
- docker-compose exec appwrite doctor
|
||||
- docker-compose exec appwrite vars
|
||||
- docker-compose exec appwrite test
|
||||
|
||||
deploy:
|
||||
- provider: script
|
||||
edge: true
|
||||
script: ./deploy.sh
|
||||
on:
|
||||
repo: appwrite/appwrite
|
||||
branch: deploy
|
||||
|
|
Loading…
Reference in a new issue