From f520c2924eb2840810686e1173bddd2c46f8a5da Mon Sep 17 00:00:00 2001 From: Hironsan Date: Wed, 21 Apr 2021 11:57:24 +0900 Subject: [PATCH] Update workflows --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/pypi-publish.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 446c38cd..626d7139 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,16 +22,16 @@ jobs: run: | pipenv run wait_for_db pipenv run migrate - working-directory: ./app + working-directory: ./backend - name: Lint with flake8 run: | pipenv run flake8 - working-directory: ./app + working-directory: ./backend - name: Lint with isort run: | pipenv run isort - working-directory: ./app + working-directory: ./backend - name: Run tests run: | pipenv run test - working-directory: ./app + working-directory: ./backend diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 8c3c5d1c..6fe72602 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - name: Preparation run: | - mkdir app/client + mkdir backend/client - name: Use Node.js uses: actions/setup-node@v1 with: @@ -21,7 +21,7 @@ jobs: run: | yarn install yarn build - cp -r dist ../app/client/ + cp -r dist ../backend/client/ working-directory: ./frontend env: PUBLIC_PATH: "/static/_nuxt/" @@ -37,7 +37,7 @@ jobs: - name: collectstatic run: | pipenv run collectstatic - working-directory: ./app + working-directory: ./backend - name: Build a binary wheel and a source tarball run: | python setup.py sdist