Compare commits
No commits in common. "master" and "firstRelease" have entirely different histories.
master
...
firstRelea
26
.drone.yml
26
.drone.yml
@ -1,26 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build and test
|
|
||||||
image: python:3.9-slim
|
|
||||||
commands:
|
|
||||||
- pip install --no-cache-dir -r requirements.txt
|
|
||||||
|
|
||||||
- name: deploy
|
|
||||||
image: python:3.9-slim
|
|
||||||
when:
|
|
||||||
status: success
|
|
||||||
commands:
|
|
||||||
- echo "Deploying app to production..."
|
|
||||||
- python app.py & # Run Flask app in background
|
|
||||||
secrets: [ eins ] # Use secrets to securely store deployment credentials
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
event:
|
|
||||||
- promote
|
|
||||||
target:
|
|
||||||
- production
|
|
Loading…
x
Reference in New Issue
Block a user