File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 credentials_json : ${{ secrets.FIREBASE_SERVICE_ACCOUNT_REACT_VITE_TAILWIND_TEMPLATE }}
2525
2626 - name : Deploy to Firebase Hosting
27- run : npx firebase-tools@latest deploy --only hosting --project react-vite-tailwind-template --non-interactive
27+ run : |
28+ OUTPUT=$(npx firebase-tools@latest deploy --only hosting --project react-vite-tailwind-template --non-interactive 2>&1)
29+ DEPLOY_EXIT=$?
30+ echo "$OUTPUT"
31+ if [ $DEPLOY_EXIT -ne 0 ]; then
32+ echo "$OUTPUT" | grep -q "is the current active version" || exit $DEPLOY_EXIT
33+ echo "Skipping: already the current active version."
34+ fi
Original file line number Diff line number Diff line change @@ -26,3 +26,6 @@ dist-ssr
2626* .njsproj
2727* .sln
2828* .sw ?
29+ branch_structure.json
30+ temp_auto_push.bat
31+ temp_interactive_push.bat
You can’t perform that action at this time.
0 commit comments