Compare commits
2 commits
c3bbda0e85
...
8df79d68ff
| Author | SHA1 | Date | |
|---|---|---|---|
| 8df79d68ff | |||
| 74fed46546 |
2 changed files with 12 additions and 0 deletions
10
.woodpecker.yml
Normal file
10
.woodpecker.yml
Normal 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
2
app.py
|
|
@ -64,4 +64,6 @@ def upload_file():
|
|||
|
||||
return {'message': 'Failed to add file to repository.'}, 500
|
||||
|
||||
print(f"Uploaded {file}")
|
||||
|
||||
return {'message': 'Success.'}, 200
|
||||
|
|
|
|||
Reference in a new issue