Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/deploy-pr-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,14 @@ jobs:
BUILD_OUTCOME="${!OUTCOME_VAR}" # Get the value of the environment variable
echo "==BUILD_OUTCOME=="
echo $BUILD_OUTCOME
echo "==="
echo "==="
if [ "$BUILD_OUTCOME" == "success" ]; then
echo "<li><a href='./${component}/index.html' target="_blank">${component^} <span style='color:green;'>✓ Success</span></a></li>" >> ${{ env.DEPLOY_PATH }}/index.html
else
echo "<li>${component^} <span style='color:red;'>✗ Failed</span></li>" >> ${{ env.DEPLOY_PATH }}/index.html
fi
fi
done
done

echo "</ul></body></html>" >> ${{ env.DEPLOY_PATH }}/index.html

Expand All @@ -162,5 +162,5 @@ jobs:
source-dir: ${{ env.DEPLOY_PATH }}/
preview-branch: gh-pages
umbrella-dir: pr-preview
action: auto
action: ${{ github.event.action == 'labeled' && 'deploy' || 'auto' }}
qr-code: false
Loading
Loading