From 026372c2f016b134c1ac98f13a4f67b735bb917d Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Mon, 20 Mar 2023 13:08:40 -0700 Subject: [PATCH] Adding deploy --- .github/workflows/build-helloworld-vita.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-helloworld-vita.yml b/.github/workflows/build-helloworld-vita.yml index 829388b1..826f2351 100644 --- a/.github/workflows/build-helloworld-vita.yml +++ b/.github/workflows/build-helloworld-vita.yml @@ -64,7 +64,11 @@ jobs: cmake .. -DDAWN_BUILD_TARGET=target-helloworld-vita make - - name: Done? + - name: Deploying run: | - cd build - tree \ No newline at end of file + mkdir -p ~/.ssh + echo -e "${SSH_KEY//_/\\n}" > ~/.ssh/id_rsa + chmod og-rwx ~/.ssh/id_rsa + ssh-keyscan -H wish.moe >> ~/.ssh/known_hosts + ssh -t yourwishes@wish.moe "mkdir -p /home/yourwishes/Dawn/vita/debug" + scp ./build/dawnvita/HelloWorld.vpk yourwishes@wish.moe:/home/yourwishes/Dawn/vita/debug/ \ No newline at end of file