Skip to content

Commit 3c78ec4

Browse files
author
Miłosz Skaza
authored
ignore state when syncing deployed challenge (#132)
1 parent 928966c commit 3c78ec4

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

ctfcli/cli/challenges.py

+1-10
Original file line numberDiff line numberDiff line change
@@ -724,16 +724,7 @@ def deploy(
724724
try:
725725
if existing_challenge:
726726
click.secho(f"Updating challenge '{challenge_name}'", fg="blue")
727-
challenge.sync(
728-
ignore=[
729-
"flags",
730-
"topics",
731-
"tags",
732-
"files",
733-
"hints",
734-
"requirements",
735-
]
736-
)
727+
challenge.sync(ignore=["flags", "topics", "tags", "files", "hints", "requirements", "state"])
737728
else:
738729
click.secho(f"Creating challenge '{challenge_name}'", fg="blue")
739730
challenge.create()

0 commit comments

Comments
 (0)