We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 171d227 commit 548fca6Copy full SHA for 548fca6
.github/workflows/pipeline_ci.yml
@@ -40,13 +40,11 @@ jobs:
40
username: ci-user
41
password: ${{ secrets.SERVER_PASSWORD }}
42
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
+ if [ -d "/opt/greentrip/backend/app" ]; then
+ rm -rf /opt/greentrip/backend/app
48
fi
49
+
50
- name: Deploy Backend to Server
51
uses: appleboy/scp-action@v0.1.7
52
with:
0 commit comments