mirror of
https://github.com/jarulsamy/Plex-Bot.git
synced 2024-08-19 15:01:55 +02:00
🚀 Automatic deployment through jenkins
This commit is contained in:
8
deploy/build.py
Normal file
8
deploy/build.py
Normal file
@ -0,0 +1,8 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.append("PlexBot")
|
||||
|
||||
from __version__ import VERSION
|
||||
|
||||
sys.exit(os.system(f"docker build -t jarulsamy/plex-bot:{VERSION} ."))
|
8
deploy/push.py
Executable file
8
deploy/push.py
Executable file
@ -0,0 +1,8 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.append("PlexBot")
|
||||
|
||||
from __version__ import VERSION
|
||||
|
||||
sys.exit(os.system(f"docker push jarulsamy/plex-bot:{VERSION}"))
|
Reference in New Issue
Block a user