website/.drone.yml
sthope 5b91d85c62
All checks were successful
continuous-integration/drone/push Build is passing
Update '.drone.yml'
2021-09-02 03:18:56 +02:00

40 lines
728 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: jekyll
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: discord
pull: always
image: appleboy/drone-discord:1
avatar_url: https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png
environment:
DISCORD_WEBHOOK_ID:
from_secret: discord_webhook_id
DISCORD_WEBHOOK_TOKEN:
from_secret: discord_webhook_token
when:
event:
- push
- tag
- pull_request
- deployment
status:
- changed
- failure
- success