Add CI/CD via Drone #1

Merged
atomaka merged 29 commits from ci into master 2023-02-18 15:07:14 -05:00
Showing only changes of commit 7af2b851fa - Show all commits

View file

@ -2,13 +2,6 @@ build:
bundle exec jekyll build bundle exec jekyll build
docker build . -t atomaka.com 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: review:
docker exec -it atomaka.com sh docker exec -it atomaka.com sh