Add CI/CD via Drone (#1)
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: https://git.tomaka.onl/atomaka/atomaka.com/pulls/1
This commit is contained in:
Andrew Tomaka 2023-02-18 15:07:10 -05:00
parent d6f80faee6
commit 516791bb33
3 changed files with 53 additions and 7 deletions

View file

@ -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