File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 11name : CI | Pylint
22
3- on : [push]
3+ on :
4+ push :
5+ branches :
6+ - " **"
7+ - " !master-ci"
8+ - " !dev-release"
9+ - " !release"
10+
11+ workflow_dispatch :
412
513jobs :
614 lint :
Original file line number Diff line number Diff line change 2929# ---------------------------------------------------------------------------- #
3030# Defaults #
3131# ---------------------------------------------------------------------------- #
32- DEBUG=flase # -d
32+ DEBUG=false # -d
3333REPO=' https://github.com/RecursionSpace/OpenPod'
3434
3535# ---------------------------------------------------------------------------- #
@@ -51,11 +51,11 @@ while getopts ":hbdu" flags; do
5151 esac
5252done
5353
54- if [ $DEBUG ]; then
54+ if [ " $DEBUG " = true ]; then
5555 BRANCH=' dev-release'
5656 URL=' dev.recursion.space'
5757 API_URL=' dev.api.recursion.space'
58- elif [ ! $DEBUG ] ; then
58+ else
5959 BRANCH=' release'
6060 URL=' recursion.space'
6161 API_URL=' api.recursion.space'
Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ def update_pod():
4444 zip_ref .extractall ()
4545
4646 # Copy the files to the root directory.
47- os .makedirs (f"/opt/OpenPod/versions/{ latest_version ['hash ' ]} /" , exist_ok = True )
47+ os .makedirs (f"/opt/OpenPod/versions/{ latest_version ['version ' ]} /" , exist_ok = True )
4848
4949 shutil .copytree (
5050 f"OpenPod-{ latest_version ['hash' ]} /openpod" ,
51- f"/opt/OpenPod/versions/{ latest_version ['hash ' ]} " ,
51+ f"/opt/OpenPod/versions/{ latest_version ['version ' ]} " ,
5252 dirs_exist_ok = True
5353 )
5454
You can’t perform that action at this time.
0 commit comments