mirror of
https://github.com/logto-io/logto.git
synced 2025-03-03 22:15:32 -05:00
ci: deploy db alteration before app (#2871)
This commit is contained in:
parent
158dec3c0c
commit
bc9f8906a7
1 changed files with 12 additions and 0 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -67,6 +67,18 @@ jobs:
|
|||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
|
||||
- name: Deploy alteration
|
||||
run: |
|
||||
pnpm prepack
|
||||
pnpm cli db alt deploy next
|
||||
env:
|
||||
DB_URL: ${{ secrets.DB_URL_DEV }}
|
||||
|
||||
- name: Login via Azure CLI
|
||||
uses: azure/login@v1
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue