initial commit
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sthope 2021-09-04 14:47:12 +02:00
parent 2b34f97d8c
commit d890a82558

View File

@ -10,44 +10,44 @@ pipeline:
- bundle install
- bundle exec jekyll build
# ssh-cmnd:
# image: appleboy/drone-ssh
# settings:
# host:
# from_secret: homelab_host
# username:
# from_secret: homelab_user
# key:
# from_secret: homelab_pwd
# port: 22
# script:
# - bash ~/scripts/sthopedevupdate
# when:
# status:
# - success
discord:
image: appleboy/drone-discord
environment:
DISCORD_WEBHOOK_ID:
from_secret: discord_webhook_id
DISCORD_WEBHOOK_TOKEN:
from_secret: discord_webhook_token
ssh-cmnd:
image: appleboy/drone-ssh
settings:
message: >
{{#success build.status}}
✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
host:
from_secret: homelab_host
username:
from_secret: homelab_user
key:
from_secret: homelab_pwd
port: 22
script:
- bash ~/scripts/sthopedevupdate
when:
status:
- success
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
```
{{commit.message}}
```
🌐 <{{ build.link }}>
{{else}}
❌ Build #{{build.number}} of `{{repo.name}}` failed.
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
```
{{commit.message}}
```
🌐 <{{ build.link }}>
{{/success}}
# discord:
# image: appleboy/drone-discord
# environment:
# DISCORD_WEBHOOK_ID:
# from_secret: discord_webhook_id
# DISCORD_WEBHOOK_TOKEN:
# from_secret: discord_webhook_token
# settings:
# message: >
# {{#success build.status}}
# ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
# 📝 Commit by {{commit.author}} on `{{commit.branch}}`:
# ```
# {{commit.message}}
# ```
# 🌐 <{{ build.link }}>
# {{else}}
# ❌ Build #{{build.number}} of `{{repo.name}}` failed.
# 📝 Commit by {{commit.author}} on `{{commit.branch}}`:
# ```
# {{commit.message}}
# ```
# 🌐 <{{ build.link }}>
# {{/success}}