From b838b70c6f63d4d85dbd811a9232020c3f3ec70f Mon Sep 17 00:00:00 2001 From: Ravencodess <115118888+Ravencodess@users.noreply.github.com> Date: Thu, 15 Aug 2024 14:06:30 +0100 Subject: [PATCH] Update anchor-deploy.yaml Signed-off-by: Ravencodess <115118888+Ravencodess@users.noreply.github.com> --- .github/workflows/anchor-deploy.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/anchor-deploy.yaml b/.github/workflows/anchor-deploy.yaml index 485732f78..706728db2 100644 --- a/.github/workflows/anchor-deploy.yaml +++ b/.github/workflows/anchor-deploy.yaml @@ -28,11 +28,14 @@ jobs: run: | echo ${{ secrets.ENV }} | base64 -d > .env.java + - name: Check directory contents + run: ls -la + - name: Copy Artifacts to server run: | sudo apt update && sudo apt install sshpass -y - sshpass -p ${{ secrets.PASSWORD }} scp -o StrictHostKeyChecking=no boilerplate.tar.gz .env.java ${{ secrets.USERNAME }}@${{ secrets.HOST }}:/tmp/ - rm -f boilerplate.tar.gz .env + sshpass -p ${{ secrets.PASSWORD }} scp -o StrictHostKeyChecking=no ./boilerplate.tar.gz .env.java ${{ secrets.USERNAME }}@${{ secrets.HOST }}:/tmp/ + rm -f ./boilerplate.tar.gz .env - name: Deploy on server uses: appleboy/ssh-action@master