forked from cryptohagen.dk/website
Fix build notification
This commit is contained in:
parent
f650828361
commit
36ad85c8ce
52
.drone.yml
52
.drone.yml
|
@ -2,37 +2,29 @@ kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# build:
|
- name: build
|
||||||
# image: ruby
|
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
|
|
||||||
commands:
|
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
|
- name: notify
|
||||||
image: plugins/matrix
|
image: plugins/matrix
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Reference in a new issue