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

This commit is contained in:
Sthope 2021-09-04 01:51:21 +02:00
parent 85bc610cc3
commit 35f0ce9d01
2 changed files with 31 additions and 30 deletions

View File

@ -1,6 +1,6 @@
kind: pipeline
type: docker
name: sthope
name: website-testing
clone:
disable: false
@ -30,36 +30,37 @@ steps:
port: 22
script:
- bash ~/scripts/sthopedevupdate
when:
status:
- failure
- name: discord
pull: always
image: appleboy/drone-discord
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
settings:
message: >
{{#success build.status}}
✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
# - name: discord
# pull: always
# image: appleboy/drone-discord
# 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
# 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}}
# 📝 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}}
# when:
# event:

View File

@ -24,7 +24,7 @@ linkedin_link:
google_plus_link:
stackoverflow_link:
xing_link:
nj
# footer_left: "Made with <i class=\"fa fa-heart\"></i>"
footer_left: "Copyright © 2021 Sthope"
footer_right: "&lt;/&gt; on <a href=\"https://git.sthope.dev/sthope/website\">Sthope</a> &nbsp;<i class=\"fa fa-git\"></i>"