|
@ -12,7 +12,7 @@ jobs: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
- name: Preparation |
|
|
- name: Preparation |
|
|
run: | |
|
|
run: | |
|
|
mkdir app/client |
|
|
|
|
|
|
|
|
mkdir backend/client |
|
|
- name: Use Node.js |
|
|
- name: Use Node.js |
|
|
uses: actions/setup-node@v1 |
|
|
uses: actions/setup-node@v1 |
|
|
with: |
|
|
with: |
|
@ -21,7 +21,7 @@ jobs: |
|
|
run: | |
|
|
run: | |
|
|
yarn install |
|
|
yarn install |
|
|
yarn build |
|
|
yarn build |
|
|
cp -r dist ../app/client/ |
|
|
|
|
|
|
|
|
cp -r dist ../backend/client/ |
|
|
working-directory: ./frontend |
|
|
working-directory: ./frontend |
|
|
env: |
|
|
env: |
|
|
PUBLIC_PATH: "/static/_nuxt/" |
|
|
PUBLIC_PATH: "/static/_nuxt/" |
|
@ -37,7 +37,7 @@ jobs: |
|
|
- name: collectstatic |
|
|
- name: collectstatic |
|
|
run: | |
|
|
run: | |
|
|
pipenv run collectstatic |
|
|
pipenv run collectstatic |
|
|
working-directory: ./app |
|
|
|
|
|
|
|
|
working-directory: ./backend |
|
|
- name: Build a binary wheel and a source tarball |
|
|
- name: Build a binary wheel and a source tarball |
|
|
run: | |
|
|
run: | |
|
|
python setup.py sdist |
|
|
python setup.py sdist |
|
|