initial commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2021-09-04 14:52:03 +02:00
parent d890a82558
commit c285ff4fb2

View File

@ -1,5 +1,13 @@
pipeline: kind: pipeline
testing-jekyll: type: docker
name: website-testing
clone:
disable: false
steps:
- name: testing-jekyll
pull: always
image: jekyll/jekyll:latest image: jekyll/jekyll:latest
commands: commands:
- touch Gemfile.lock - touch Gemfile.lock
@ -10,7 +18,7 @@ pipeline:
- bundle install - bundle install
- bundle exec jekyll build - bundle exec jekyll build
ssh-cmnd: - name: ssh commands
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: host:
@ -26,28 +34,41 @@ pipeline:
status: status:
- success - success
# discord: - name: discord
# image: appleboy/drone-discord pull: always
# environment: image: appleboy/drone-discord
# DISCORD_WEBHOOK_ID: avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png"
# from_secret: discord_webhook_id environment:
# DISCORD_WEBHOOK_TOKEN: DISCORD_WEBHOOK_ID:
# from_secret: discord_webhook_token from_secret: discord_webhook_id
# settings: DISCORD_WEBHOOK_TOKEN:
# message: > from_secret: discord_webhook_token
# {{#success build.status}} settings:
# ✅ Build #{{build.number}} of `{{repo.name}}` succeeded. message: >
{{#success build.status}}
✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
# 📝 Commit by {{commit.author}} on `{{commit.branch}}`: 📝 Commit by {{commit.author}} on `{{commit.branch}}`:
# ``` ```
# {{commit.message}} {{commit.message}}
# ``` ```
# 🌐 <{{ build.link }}> 🌐 <{{ build.link }}>
# {{else}} {{else}}
# ❌ Build #{{build.number}} of `{{repo.name}}` failed. ❌ Build #{{build.number}} of `{{repo.name}}` failed.
# 📝 Commit by {{commit.author}} on `{{commit.branch}}`: 📝 Commit by {{commit.author}} on `{{commit.branch}}`:
# ``` ```
# {{commit.message}} {{commit.message}}
# ``` ```
# 🌐 <{{ build.link }}> 🌐 <{{ build.link }}>
# {{/success}} {{/success}}
# # when:
# # event:
# # - push
# # - tag
# # - pull_request
# # - deployment
# # status:
# # - changed
# # - failure
# # - success