Changes to be committed:
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
new file: .drone.yml Changes not staged for commit: deleted: __pycache__/app.cpython-310.pyc modified: templates/index.html Suppression de deux entrées sur cinq au niveau de index.html
This commit is contained in:
parent
3c33f96910
commit
c5f736eddf
54
.drone.yml
Normal file
54
.drone.yml
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker_gitea
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: git.netpowa.fr/guillaume/spotdlweb
|
||||||
|
# auto_tag: true
|
||||||
|
registry: git.netpowa.fr
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- v1.0.1
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
- name: docker_hub
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: dockerhub_username
|
||||||
|
password:
|
||||||
|
from_secret: dockerhub_password
|
||||||
|
repo: gu1llaum3/spotdlweb
|
||||||
|
# auto_tag: true
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- v1.0.1
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
- name: notify_success
|
||||||
|
image: curlimages/curl
|
||||||
|
environment:
|
||||||
|
NOTIFY_URL:
|
||||||
|
from_secret: ntfy_url
|
||||||
|
commands:
|
||||||
|
- curl -d "La pipeline a réussi" $NOTIFY_URL
|
||||||
|
when:
|
||||||
|
status: [ success ]
|
||||||
|
|
||||||
|
- name: notify_failure
|
||||||
|
image: curlimages/curl
|
||||||
|
environment:
|
||||||
|
NOTIFY_URL:
|
||||||
|
from_secret: ntfy_url
|
||||||
|
commands:
|
||||||
|
- curl -d "La pipeline a échoué" $NOTIFY_URL
|
||||||
|
when:
|
||||||
|
status: [failure]
|
Loading…
x
Reference in New Issue
Block a user