Compare commits

...

2 Commits

Author SHA1 Message Date
Jef Roosens 8df79d68ff
Added "log" 2021-12-31 11:31:09 +01:00
Jef Roosens 74fed46546
Added ci stuff 2021-12-31 11:30:31 +01:00
2 changed files with 12 additions and 0 deletions

10
.woodpecker.yml 100644
View File

@ -0,0 +1,10 @@
pipeline:
publish:
image: plugins/docker
secrets: [ docker_username, docker_password ]
settings:
repo: chewingbever/pieter
tag: ${CI_COMMIT_TAG}
when:
branch: main
event: tag

2
app.py
View File

@ -64,4 +64,6 @@ def upload_file():
return {'message': 'Failed to add file to repository.'}, 500
print(f"Uploaded {file}")
return {'message': 'Success.'}, 200