Fixup
This commit is contained in:
parent
47174c5307
commit
9058b36e5a
1 changed files with 20 additions and 27 deletions
47
.drone.yml
47
.drone.yml
|
@ -5,43 +5,35 @@ steps:
|
|||
- name: jekyll-build
|
||||
image: ruby
|
||||
commands:
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
exclude: master
|
||||
event: push
|
||||
|
||||
---
|
||||
---
|
||||
name: deploy
|
||||
kind: pipeline
|
||||
|
||||
steps:
|
||||
- name: jekyll-build
|
||||
image: ruby
|
||||
commands:
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
- name: docker-build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
pull_image: true
|
||||
registry: docker.atomaka.com
|
||||
repo: docker.atomaka.com/atomaka.com
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG}
|
||||
image: plugins/docker
|
||||
settings:
|
||||
pull_image: true
|
||||
registry: docker.atomaka.com
|
||||
repo: docker.atomaka.com/atomaka.com
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG}
|
||||
- name: jekyll-build
|
||||
image: ruby
|
||||
commands:
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
- name: docker-build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
pull_image: true
|
||||
registry: docker.atomaka.com
|
||||
repo: docker.atomaka.com/atomaka.com
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG}
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
|
@ -54,5 +46,6 @@ steps:
|
|||
script:
|
||||
- docker pull docker.atomaka.com/atomaka.com:latest
|
||||
- docker restart atomaka.com
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
|
|
Loading…
Reference in a new issue