diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 376f72e5..07254226 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,15 +32,15 @@ jobs: - name: Build with Maven run: sh bin/package.sh - #- name: Deploy to server - # uses: appleboy/scp-action@master - # with: - # host: ${{ secrets.SERVER_HOST }} - # username: ${{ secrets.SERVER_USERNAME }} - # password: ${{ secrets.SERVER_PASSWORD }} - # port: 22 - # source: tang-admin/target/tang-admin-*.jar - # target: /root/tang-boot/ + - name: Deploy to server + uses: appleboy/scp-action@master + with: + host: ${{ secrets.SERVER_HOST }} + username: ${{ secrets.SERVER_USERNAME }} + password: ${{ secrets.SERVER_PASSWORD }} + port: 22 + source: 'tang-admin/target/tang-admin-*.jar' + target: /root/tang-boot/ #- name: Run JAR file # uses: appleboy/ssh-action@master