initial commit
This commit is contained in:
parent
02289b3d22
commit
9d6a641b0e
84
.drone.yml
84
.drone.yml
@ -1,4 +1,4 @@
|
||||
pipeline: [ 'Sthope" ]
|
||||
pipeline: [ 'Sthope' ]
|
||||
|
||||
testing-jekyll:
|
||||
image: jekyll/jekyll:latest
|
||||
@ -14,46 +14,46 @@ pipeline: [ 'Sthope" ]
|
||||
|
||||
|
||||
|
||||
- name: ssh commands
|
||||
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
|
||||
# - name: ssh commands
|
||||
# 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
|
||||
|
||||
- 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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user