Skip to content

Commit

Permalink
Test a fix to release actions flow
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaKattainen committed Feb 14, 2022
1 parent 80dec62 commit e1b2b9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit e1b2b9c

Please sign in to comment.