Add CI/CD via Drone #1
1 changed files with 0 additions and 7 deletions
7
Makefile
7
Makefile
|
@ -2,13 +2,6 @@ build:
|
|||
bundle exec jekyll build
|
||||
docker build . -t atomaka.com
|
||||
|
||||
push: build
|
||||
docker tag atomaka.com:latest docker.atomaka.com/atomaka.com:latest
|
||||
docker push docker.atomaka.com/atomaka.com:latest
|
||||
|
||||
deploy: push
|
||||
ssh $$SSH_USERNAME@$$SSH_HOST 'docker pull docker.atomaka.com/atomaka.com:latest && docker restart atomaka.com'
|
||||
|
||||
review:
|
||||
docker exec -it atomaka.com sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue