diff --git a/.drone.yml b/.drone.yml index c315016..ad45439 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,38 +1,38 @@ -# kind: pipeline -# type: docker -# name: website-testing +kind: pipeline +type: docker +name: website-testing -# clone: -# disable: false +clone: + disable: false -# steps: -# - name: testing -# pull: always -# image: jekyll/jekyll:latest -# commands: -# - touch Gemfile.lock -# - chmod a+w Gemfile.lock -# - chown -R jekyll:jekyll /drone -# - gem update --system -# - gem install bundler -# - bundle install -# - bundle exec jekyll build +steps: +- name: testing + pull: always + image: jekyll/jekyll:latest + commands: + - touch Gemfile.lock + - chmod a+w Gemfile.lock + - chown -R jekyll:jekyll /drone + - gem update --system + - gem install bundler + - bundle install + - bundle exec jekyll build -# - name: ssh commands -# image: appleboy/drone-ssh -# settings: -# host: -# from_secret: homelab_host -# username: -# from_secret: homelab_user -# key: -# from_secret: homelab_pwd -# port: 22 -# script: -# - bash ~/scripts/sthopedevupdate -# when: -# status: -# - success +- name: ssh commands + image: appleboy/drone-ssh + settings: + host: + from_secret: homelab_host + username: + from_secret: homelab_user + key: + from_secret: homelab_pwd + port: 22 + script: + - bash ~/scripts/sthopedevupdate + when: + status: + - success # - name: discord # pull: always