Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
sthope 2021-09-02 02:05:18 +02:00
parent c7d1eadfd2
commit f406783579

View File

@ -1,37 +1,30 @@
--- pipeline:
kind: pipeline jekyll-build:
type: docker image: jekyll/jekyll:latest
name: check 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: # - name: discord notification
os: linux # image: appleboy/drone-discord
# settings:
workspace: # webhook_id:
base: /srv/jekyll # from_secret: discord_webhook_id
path: / # webhook_token:
# from_secret: discord_webhook_token
# avatar_url: https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png
steps: # when:
- name: jekyll # event:
image: jekyll/jekyll:latest # - push
commands: # - tag
- jekyll serve --trace # - pull_request
# - deployment
- name: discord notification # status:
image: appleboy/drone-discord # - changed
settings: # - failure
webhook_id: # - success
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