Skip to content

Commit

Permalink
Clean staticfiles before collecting
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Sep 18, 2024
1 parent 1838eaa commit 6c7ad9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
command: |
pipenv sync --dev
- run: make lambda-layers/DependenciesLayer/requirements.txt
- run: pipenv run clean
- run: pipenv run collectstatic
- run: npm install
- run: npm run build
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ certifi = "*"

[scripts]
collectstatic = "python manage.py collectstatic -c --noinput"
clean = "rm -rf electionleaflets/static_files/ lambda-layers/DependenciesLayer/requirements.txt rm -rf thumbs/requirements.txt"
createcachetable = "python manage.py createcachetable"
coveralls = "coveralls"
migratedb = "python manage.py migrate --noinput"
Expand Down

0 comments on commit 6c7ad9f

Please sign in to comment.