Skip to content

Commit 8feb838

Browse files
committed
ci(deploy): skip deploy job when App Service secrets are not set
1 parent 3b197d3 commit 8feb838

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/docker-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
docker push ${{ steps.registry.outputs.registry }}/app-scripting-editor-api:latest
4949
5050
deploy-to-appservice:
51+
if: ${{ secrets.EDITOR_APP_NAME && secrets.RESOURCE_GROUP && secrets.EDITOR_API_APP_NAME }}
5152
needs: build-and-push
5253
runs-on: ubuntu-latest
5354
steps:

0 commit comments

Comments
 (0)