forked from Ninjaclasher/dmoj-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update sleep duration in docker workflow and improve command exe…
…cution in scripts note: this is just a theory Signed-off-by: Jason Cameron <[email protected]>
- Loading branch information
1 parent
f68af29
commit d258a18
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 $@ |