GAME: Play the number guessing game -> PLAY NOW

Update .gitea/workflows/build.yaml - poppy - A feature-rich Minecraft plugin which enhances gaming experience

poppy

A feature-rich Minecraft plugin which enhances gaming experience
git clone git://192.168.2.2/poppy
Log | Files | Refs | README

commit c34bb4ef5db66e9a05bd0a6979e3e1d819e2e309
parent 063b7df342478a6968be60b8a5de5dc3716e1a19
Author: typable <contact@typable.dev>
Date:   Fri,  3 Nov 2023 21:15:19 +0100

Update .gitea/workflows/build.yaml

Diffstat:
M.gitea/workflows/build.yaml | 23+++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml @@ -23,4 +23,23 @@ jobs: uses: actions/upload-artifact@v3 with: path: | - build/libs/poppy.jar -\ No newline at end of file + build/libs/poppy.jar + - name: Configure SSH + run: | + mkdir -p ~/.ssh/ + echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/minecraft.key + chmod 600 ~/.ssh/minecraft.key + cat >>~/.ssh/config <<END + Host minecraft + HostName $SSH_HOST + User $SSH_USER + IdentityFile ~/.ssh/minecraft.key + StrictHostKeyChecking no + END + cat ~/.ssh/config + env: + SSH_USER: ${{ secrets.SSH_USER }} + SSH_KEY: ${{ secrets.SSH_KEY }} + SSH_HOST: ${{ secrets.SSH_HOST }} + - name: Test SSH + run: ssh minecraft 'ls' +\ No newline at end of file