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

This commit is contained in:
Sthope 2021-09-08 23:54:20 +02:00
parent 0212098e2d
commit 66ef92ab55

View File

@ -6,17 +6,17 @@ clone:
disable: false
steps:
- name: testing
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: testing
# 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: ssh commands
# image: appleboy/drone-ssh
@ -71,33 +71,33 @@ steps:
- 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: