Update '.drone.yml'
This commit is contained in:
parent
90b6fa0157
commit
921662b35d
53
.drone.yml
53
.drone.yml
@ -1,25 +1,30 @@
|
|||||||
steps:
|
pipeline:
|
||||||
- name: build
|
jekyll-build:
|
||||||
image: golang
|
image: jekyll/jekyll:latest
|
||||||
commands:
|
commands:
|
||||||
- go build
|
# - touch Gemfile.lock
|
||||||
- go test
|
# - 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
|
Loading…
x
Reference in New Issue
Block a user