diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 294cdfe..5cc3091 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,19 +56,6 @@ jobs: rm /root/microservices/auth-provider-application/src/main/resources/auth-logback.xml cp /root/secrets/logback/auth-logback.xml /root/microservices/auth-provider-application/src/main/resources - - name: Updating Project - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.V8_HOST }} - username: ${{ secrets.V8_USERNAME }} - key: ${{ secrets.V8_VPS_PRIVATE_KEY }} - port: 22 - script: | - set +e - cd /root/microservices/blog-provider-application - git stash - git fetch origin main && git reset --hard FETCH_HEAD - - name: Copying Secrets uses: appleboy/ssh-action@master with: @@ -93,6 +80,8 @@ jobs: port: 22 script: | cd /root/microservices/auth-provider-application + git stash + git fetch origin main && git reset --hard FETCH_HEAD chmod +x mvnw ./mvnw clean package