duh
This commit is contained in:
5
caddy.py
5
caddy.py
@@ -3,9 +3,8 @@ from textwrap import dedent
|
|||||||
from deploy import by_branch
|
from deploy import by_branch
|
||||||
|
|
||||||
|
|
||||||
def build_caddyfile():
|
excluded = {"deployer"}
|
||||||
excluded = {"deployer"}
|
with open("Caddyfile", "w+") as file:
|
||||||
with open("Caddyfile", "w+") as file:
|
|
||||||
for domain, port in map(itemgetter("domain", "port"), by_branch.values()):
|
for domain, port in map(itemgetter("domain", "port"), by_branch.values()):
|
||||||
if domain in excluded:
|
if domain in excluded:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user