mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
ci: fix release workflow (#3376)
This commit is contained in:
parent
9896390065
commit
8026bdbeb8
1 changed files with 5 additions and 5 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -144,7 +144,7 @@ jobs:
|
||||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||||
|
|
||||||
- name: Deploy database alteration
|
- name: Deploy database alteration
|
||||||
if: github.environment == 'dev'
|
if: ${{ (inputs.target || 'dev') == 'dev' }}
|
||||||
run: |
|
run: |
|
||||||
pnpm prepack
|
pnpm prepack
|
||||||
pnpm cli db alt deploy next
|
pnpm cli db alt deploy next
|
||||||
|
@ -166,14 +166,14 @@ jobs:
|
||||||
- name: Deploy core to containerapp
|
- name: Deploy core to containerapp
|
||||||
uses: azure/webapps-deploy@v2
|
uses: azure/webapps-deploy@v2
|
||||||
with:
|
with:
|
||||||
app-name: ${{ env.APP_NAME_CORE }}
|
app-name: ${{ vars.APP_NAME_CORE }}
|
||||||
images: ghcr.io/logto-io/logto:${{ env.DOCKER_TAG }}
|
images: ghcr.io/logto-io/logto:${{ vars.DOCKER_TAG }}
|
||||||
|
|
||||||
- name: Deploy cloud to containerapp
|
- name: Deploy cloud to containerapp
|
||||||
uses: azure/webapps-deploy@v2
|
uses: azure/webapps-deploy@v2
|
||||||
with:
|
with:
|
||||||
app-name: ${{ env.APP_NAME_CLOUD }}
|
app-name: ${{ vars.APP_NAME_CLOUD }}
|
||||||
images: ghcr.io/logto-io/cloud:${{ env.DOCKER_TAG }}
|
images: ghcr.io/logto-io/cloud:${{ vars.DOCKER_TAG }}
|
||||||
|
|
||||||
# Publish packages and create git tags if needed
|
# Publish packages and create git tags if needed
|
||||||
publish-and-tag:
|
publish-and-tag:
|
||||||
|
|
Loading…
Reference in a new issue