Skip to content

Commit 548fca6

Browse files
Update pipeline_ci.yml
1 parent 171d227 commit 548fca6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/pipeline_ci.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,11 @@ jobs:
4040
username: ci-user
4141
password: ${{ secrets.SERVER_PASSWORD }}
4242
script: |
43-
if [ -f "/opt/greentrip/backend/app.jar" ]; then
44-
rm /opt/greentrip/backend/app.jar
45-
fi
46-
if [ -d "/opt/greentrip/backend/app.jar" ]; then
47-
rm -rf /opt/greentrip/backend/app.jar
43+
if [ -d "/opt/greentrip/backend/app" ]; then
44+
rm -rf /opt/greentrip/backend/app
4845
fi
4946
47+
5048
- name: Deploy Backend to Server
5149
uses: appleboy/scp-action@v0.1.7
5250
with:

0 commit comments

Comments
 (0)