commit 9da736af60b9b1f924d3d0ad1bdead7d392e7de7 parent 02692e00722411e47d407fd24383e5bc86b90257 Author: typable <contact@typable.dev> Date: Fri, 3 Nov 2023 21:37:52 +0100 Update .gitea/workflows/build.yaml Diffstat:
M | .gitea/workflows/build.yaml | | | 11 | ++++++----- |
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml @@ -22,8 +22,8 @@ jobs: - name: Upload Artifacts uses: actions/upload-artifact@v3 with: - path: | - build/libs/poppy.jar + name: poppy.zip + path: build/libs/poppy.jar - name: Configure SSH run: | mkdir -p ~/.ssh/ @@ -43,5 +43,6 @@ jobs: SSH_KEY: ${{ secrets.SSH_KEY }} SSH_HOST: ${{ secrets.SSH_HOST }} SSH_PORT: ${{ secrets.SSH_PORT }} - - name: Test SSH - run: ssh minecraft 'ls' -\ No newline at end of file + - name: Deploy Jar + run: | + ssh minecraft 'cd run/mc/ && ./deploy.sh' +\ No newline at end of file