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 - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install setuptools wheel
pip install -r requirements.txt
pip install pipenv
pipenv sync --dev
- name: collectstatic - name: collectstatic
run: | run: |
python manage.py collectstatic --noinput
pipenv run collectstatic
working-directory: ./app working-directory: ./app
- name: Build a binary wheel and a source tarball - name: Build a binary wheel and a source tarball
run: | run: |

1
Pipfile

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