From e1b2b9c3e0db116cc43bef6f630d2692dcb694bf Mon Sep 17 00:00:00 2001 From: Mika Kattainen Date: Mon, 14 Feb 2022 10:46:26 +0200 Subject: [PATCH] Test a fix to release actions flow --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0723fc..9d48a9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,7 @@ env: AZURE_WEBAPP_NAME: pos-backend-production # set this to your application's name AZURE_WEBAPP_PACKAGE_PATH: 'dist' # set this to the path to your web app project, defaults to the repository root NODE_VERSION: '14.x' # set this to the node version to use + DATABASE_URL: ${{ secrets.DATABASE_URL_PRODUCTION }} jobs: build-and-deploy: @@ -24,7 +25,7 @@ jobs: yarn install yarn build - name: run database migrations - run: echo ${{ secrets.DATABASE_URL_PRODUCTION }} && DATABASE_URL=${{ secrets.DATABASE_URL_PRODUCTION }} yarn migrate-up + run: echo "$env:DATABASE_URL" && DATABASE_URL="$env:DATABASE_URL" yarn migrate-up - name: copy web.config and node_modules to dist run: | cp web.config dist/web.config