Browse Source

Update pypi publish workflow

pull/1179/head
Hironsan 3 years ago
parent
commit
5d0568bcf2
2 changed files with 4 additions and 3 deletions
  1. 6
      .github/workflows/pypi-publish.yml
  2. 1
      Pipfile

6
.github/workflows/pypi-publish.yml

@ -32,11 +32,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
pip install -r requirements.txt
pip install pipenv
pipenv sync --dev
- name: collectstatic
run: |
python manage.py collectstatic --noinput
pipenv run collectstatic
working-directory: ./app
- name: Build a binary wheel and a source tarball
run: |

1
Pipfile

@ -52,3 +52,4 @@ isort = "isort . -c"
wait_for_db = "python manage.py wait_for_db"
test = "python manage.py test api.tests"
migrate = "python manage.py migrate"
collectstatic = "python manage.py collectstatic --noinput"
Loading…
Cancel
Save