diff --git a/.drone.yml b/.drone.yml index f811b90..531b2bb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,20 +1,20 @@ -name: test -kind: pipeline +# name: test +# kind: pipeline -steps: - - name: jekyll-build - image: ruby - commands: - - gem install bundler - - bundle install - - bundle exec jekyll build - -trigger: - branch: - exclude: master - event: push - ---- + # steps: + # - name: jekyll-build + # image: ruby + # commands: + # - gem install bundler + # - bundle install + # - bundle exec jekyll build + # + # trigger: + # branch: + # exclude: master + # event: push + # + # --- name: deploy kind: pipeline @@ -34,6 +34,21 @@ steps: # 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: test + image: ruby + environment: + SSH_KEY: + from_secret: docker_username + commands: + - echo $SSH_KEY - name: deploy image: plugins/ssh settings: