From f4067835794ca2cca2e7d412606f296b5060a11b Mon Sep 17 00:00:00 2001 From: sthope Date: Thu, 2 Sep 2021 02:05:18 +0200 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 65 ++++++++++++++++++++++++------------------------------ 1 file changed, 29 insertions(+), 36 deletions(-) diff --git a/.drone.yml b/.drone.yml index 476fe88..7522747 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,37 +1,30 @@ ---- -kind: pipeline -type: docker -name: check +pipeline: + jekyll-build: + 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 -platform: - os: linux - -workspace: - base: /srv/jekyll - path: / - - -steps: -- name: jekyll - image: jekyll/jekyll:latest - commands: - - jekyll serve --trace - -- name: discord notification - image: appleboy/drone-discord - settings: - webhook_id: - from_secret: discord_webhook_id - webhook_token: - from_secret: discord_webhook_token - avatar_url: https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png - when: - event: - - push - - tag - - pull_request - - deployment - status: - - changed - - failure - - success \ No newline at end of file +# - name: discord notification +# image: appleboy/drone-discord +# settings: +# webhook_id: +# from_secret: discord_webhook_id +# webhook_token: +# from_secret: discord_webhook_token +# avatar_url: https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png +# when: +# event: +# - push +# - tag +# - pull_request +# - deployment +# status: +# - changed +# - failure +# - success \ No newline at end of file