Skip to content

Commit

Permalink
Merge pull request #90 from NJUPT-SAST/Xunop-patch-1
Browse files Browse the repository at this point in the history
Update dev-deploy.yml
  • Loading branch information
Xunop authored Jul 17, 2024
2 parents e4984c4 + 05f175b commit c3d12a2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,15 @@ jobs:
# Load the new image and run it
docker load -i ~/image.tar
docker run -d --name sastlink -p 8080:8080 sast/sast-link
echo "---------"
echo $RSYNC_STDOUT
echo "---------"
RSYNC_STDOUT: ${{ env.RSYNC_STDOUT }}


- name: Check Deployment Status
run: |
if [ "${{ steps.deploy.outcome }}" != "success" ]; then
if [[ "${{ steps.deploy.outputs.RSYNC_STDOUT }}" == *"error"* ]]; then
echo "Deployment failed"
exit 1
fi
Expand Down

0 comments on commit c3d12a2

Please sign in to comment.