Skip to content

Commit

Permalink
rc
Browse files Browse the repository at this point in the history
  • Loading branch information
elrayle committed Apr 11, 2024
1 parent de76b08 commit 369acb9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-and-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ jobs:
steps:
- name: Check secrets
run: |
if [[ -z "${{ secrets.AZURE_CREDENTIALS }}" ]]; then
AZURE_CREDENTIALS="${{ secrets.AZURE_CREDENTIALS }}"
if [[ ${#AZURE_CREDENTIALS} -le 0 ]]; then
echo "AZURE_CREDENTIALS is not set"
exit 1
fi
if [[ -z "${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_DEV }}" ]]; then
AZURE_WEBAPP_PUBLISH_PROFILE_DEV="${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_DEV }}"
if [[ ${#AZURE_WEBAPP_PUBLISH_PROFILE_DEV} -le 0 ]]; then
echo "AZURE_WEBAPP_PUBLISH_PROFILE_DEV is not set"
exit 1
fi
Expand Down

0 comments on commit 369acb9

Please sign in to comment.