Fixup
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Andrew Tomaka 2023-02-18 14:28:28 -05:00
parent 47174c5307
commit 9058b36e5a
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -5,43 +5,35 @@ steps:
- name: jekyll-build - name: jekyll-build
image: ruby image: ruby
commands: commands:
- gem install bundler - gem install bundler
- bundle install - bundle install
- bundle exec jekyll build - bundle exec jekyll build
trigger: trigger:
branch: branch:
exclude: master exclude: master
event: push event: push
--- ---
name: deploy name: deploy
kind: pipeline kind: pipeline
steps: steps:
- name: jekyll-build - name: jekyll-build
image: ruby image: ruby
commands: commands:
- gem install bundler - gem install bundler
- bundle install - bundle install
- bundle exec jekyll build - bundle exec jekyll build
- name: docker-build - name: docker-build
image: plugins/docker image: plugins/docker
settings: settings:
pull_image: true pull_image: true
registry: docker.atomaka.com registry: docker.atomaka.com
repo: docker.atomaka.com/atomaka.com repo: docker.atomaka.com/atomaka.com
tags: tags:
- latest - latest
- ${DRONE_TAG} - ${DRONE_TAG}
image: plugins/docker
settings:
pull_image: true
registry: docker.atomaka.com
repo: docker.atomaka.com/atomaka.com
tags:
- latest
- ${DRONE_TAG}
- name: deploy - name: deploy
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
@ -54,5 +46,6 @@ steps:
script: script:
- docker pull docker.atomaka.com/atomaka.com:latest - docker pull docker.atomaka.com/atomaka.com:latest
- docker restart atomaka.com - docker restart atomaka.com
trigger: trigger:
event: tag event: tag