Skip to content

Commit

Permalink
fix: update sleep duration in docker workflow and improve command exe…
Browse files Browse the repository at this point in the history
…cution in scripts

note:  this is just a theory
Signed-off-by: Jason Cameron <[email protected]>
  • Loading branch information
JasonLovesDoggo committed Jan 29, 2025
1 parent f68af29 commit d258a18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dmoj/scripts/manage
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
cd $(dirname $(dirname $0)) || exit

docker compose "$COMPOSE_FLAGS" exec "$COMPOSE_EXEC_FLAGS" site python3 manage.py $@
# shellcheck disable=SC2086
docker compose $COMPOSE_FLAGS exec "$COMPOSE_EXEC_FLAGS" site python3 manage.py $@
3 changes: 2 additions & 1 deletion dmoj/scripts/migrate
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
cd $(dirname $(dirname $0)) || exit

docker compose "$COMPOSE_FLAGS" exec "$COMPOSE_EXEC_FLAGS" site python3 manage.py migrate $@
# shellcheck disable=SC2086
docker compose $COMPOSE_FLAGS exec "$COMPOSE_EXEC_FLAGS" site python3 manage.py migrate $@

0 comments on commit d258a18

Please sign in to comment.