Browse Source

Fix build notification

master
Jesper Hess 1 year ago
parent
commit
36ad85c8ce
Signed by untrusted user: graffen <jesper@graffen.dk> GPG Key ID: 351A89E40D763F0F
1 changed files with 22 additions and 30 deletions
  1. +22
    -30
      .drone.yml

+ 22
- 30
.drone.yml View File

@@ -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…
Cancel
Save