0
Fork 0
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:
Gao Sun 2023-01-09 15:28:42 +08:00 committed by GitHub
parent 158dec3c0c
commit bc9f8906a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: