Fix build notification
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0a7ed0ff54
commit
1cf0a8352b
52
.drone.yml
52
.drone.yml
|
@ -2,37 +2,29 @@ kind: pipeline
|
|||
name: default
|
||||
|
||||
steps:
|
||||
# build:
|
||||
# image: ruby
|
||||
# commands:
|
||||
# - gem install bundler
|
||||
# - bundle install
|
||||
# - bundle exec jekyll build
|
||||
#
|
||||
# docker:
|
||||
# image: plugins/docker
|
||||
# repo: docker.data.coop/cryptohagen-website
|
||||
# registry: docker.data.coop
|
||||
# secrets: [DOCKER_USERNAME, DOCKER_PASSWORD]
|
||||
# username:
|
||||
# from_secret: DOCKER_USERNAME
|
||||
# password:
|
||||
# from_secret: DOCKER_PASSWORD
|
||||
# tag:
|
||||
# - "${DRONE_BUILD_NUMBER}"
|
||||
# - "latest"
|
||||
# when:
|
||||
# branch:
|
||||
# - master
|
||||
|
||||
- name: testing
|
||||
image: alpine
|
||||
environment:
|
||||
TEST:
|
||||
from_secret: matrix_password
|
||||
- name: build
|
||||
image: ruby
|
||||
commands:
|
||||
- echo hello world
|
||||
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
repo: docker.data.coop/cryptohagen-website
|
||||
registry: docker.data.coop
|
||||
secrets: [DOCKER_USERNAME, DOCKER_PASSWORD]
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
tag:
|
||||
- "${DRONE_BUILD_NUMBER}"
|
||||
- "latest"
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
- name: notify
|
||||
image: plugins/matrix
|
||||
settings:
|
||||
|
|
Loading…
Reference in a new issue