Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Simplify CI collectstatic step
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Nov 14, 2022
1 parent ffad122 commit aeaa6b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ jobs:
docker load --input /tmp/api/api.tar
docker load --input /tmp/ingestion_server/ingestion_server.tar
- name: Start API, ingest and index test data
# Is this necessary for collectstatic?
run: just up

- name: collectstatic
run: just collectstatic

Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ ipython:
just dj shell

# Run `collectstatic` to prepare for building the `nginx` Dockerfile target.
@collectstatic:
@collectstatic: _api-up
# The `STATIC_ROOT` setting is relative to the directory in which the Django
# container runs (i.e., the `api` directory at the root of the repository).
# The resulting output will be at `api/static` and is git ignored for convenience.
Expand Down

0 comments on commit aeaa6b9

Please sign in to comment.