From 307f023e471b3a0ab1cd541fa2e5cc608b0c2037 Mon Sep 17 00:00:00 2001 From: diced Date: Fri, 24 Sep 2021 20:39:43 -0700 Subject: [PATCH] fix: github actions build --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 388356dcc..25c50bc3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,9 +21,6 @@ jobs: with: path: node_modules key: ${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }} - - - name: Create mock config - run: echo -e "[uploader]\nroute = '/u'\nembed_route = '/a'\nlength = 6\ndirectory = './uploads'" > config.toml - name: Install dependencies if: steps.cache-restore.outputs.cache-hit != 'true' @@ -31,4 +28,9 @@ jobs: - name: Build run: yarn build - \ No newline at end of file + env: + CORE_SECRET=12345678 + DATABASE_URL=postgres://postgres:postgres@postgres/postgres + UPLOADER_ROUTE=/u + UPLOADER_DIRECTORY=./uploads + URLS_ROUTE=/go \ No newline at end of file