Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

CI/CD Fix if GFE_PASSWORD is missing (#2740)

Koen51f9b8e421ae
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 738164c02..ce294af87 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -759,9 +759,11 @@ jobs:
- name: Run install dist
if: steps.install-command.outputs.value != ''
- run: ${{ steps.install-command.outputs.value }}
- env:
- GFE_PASSWORD: ${{ secrets._TEMP_GFE_PASSWORD }}
+ run: |
+ if [ -n "${{ secrets._TEMP_GFE_PASSWORD }}" ]; then
+ echo "GFE_PASSWORD=${{ secrets._TEMP_GFE_PASSWORD }}" >> $GITHUB_ENV
+ fi
+ ${{ steps.install-command.outputs.value }}
timeout-minutes: 20
- name: Run NPM publish dry run