Skip to content

Commit b2c933b

Browse files
committed
Remove checking status in sh
1 parent f9d47cf commit b2c933b

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

.github/scripts/deploy_deepgit.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,3 @@ pip install -r requirements.txt
2121
sudo systemctl restart nginx
2222
sudo systemctl restart gunicorn
2323

24-
# check bash status
25-
if [[ $? -eq 0 ]]; then
26-
echo "Script succeeded"
27-
else
28-
echo "Script failed"
29-
fi

.github/workflows/deploy_gcp.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,3 @@ jobs:
3030
zone: 'us-central1-f'
3131
ssh_private_key: '${{ secrets.GCP_SSH_PRIVATE_KEY }}'
3232
script: ${{ github.workspace }}/.github/scripts/deploy_deepgit.sh
33-
34-
- id: 'test'
35-
run: |-
36-
echo '${{ steps.compute-ssh.outputs.stdout }}'
37-
echo '${{ steps.compute-ssh.outputs.stderr }}'

0 commit comments

Comments
 (0)