mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-14 20:49:42 +03:00
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
steps:
|
|
- name: init
|
|
image: ubuntu
|
|
settings:
|
|
VAULT_MASTER_SSH_PRIV_KEY:
|
|
from_secret: VAULT_MASTER_SSH_PRIV_KEY
|
|
VAULT_MASTER_SSH_PUB_KEY:
|
|
from_secret: VAULT_MASTER_SSH_PUB_KEY
|
|
SLACK_WEBHOOK_URL:
|
|
from_secret: SLACK_WEBHOOK_URL
|
|
commands:
|
|
- echo $VAULT_MASTER_SSH_PUB_KEY
|
|
- echo $VAULT_MASTER_SSH_PRIV_KEY
|
|
- echo $SLACK_WEBHOOK_URL
|
|
# - name: slack-begin
|
|
# image: plugins/slack
|
|
# settings:
|
|
# webhook:
|
|
# from_secret: SLACK_WEBHOOK_URL
|
|
# username: Drone
|
|
# template:
|
|
# {{repo.name}}/{{build.branch}} - Started #{{build.number}} (<{{build.link}}>|Open)
|
|
# - name: build
|
|
# settings:
|
|
# VAULT_MASTER_SSH_PRIV_KEY:
|
|
# from_secret: VAULT_MASTER_SSH_PRIV_KEY
|
|
# VAULT_MASTER_SSH_PUB_KEY:
|
|
# from_secret: VAULT_MASTER_SSH_PUB_KEY
|
|
# image: devforth/drone-builder
|
|
# commands:
|
|
# - cd deploy && /bin/bash build.sh
|
|
# - name: slack-end
|
|
# image: plugins/slack
|
|
# settings:
|
|
# webhook:
|
|
# from_secret: SLACK_WEBHOOK_URL
|
|
# username: Drone
|
|
# template:
|
|
# {{repo.name}}/{{build.branch}} - Finished #{{build.number}} (<{{build.link}}>|Open)
|