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