From 3e9fea9ad3ff9c154f18013c77c297c8bd265765 Mon Sep 17 00:00:00 2001 From: Oluwatunmise-olat Date: Sat, 28 Oct 2023 23:42:06 +0100 Subject: [PATCH] finalize: cleanup --- .github/workflows/deployment.yml | 9 ++------- .idea/workspace.xml | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index b3edd89..05e63ed 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -24,12 +24,7 @@ jobs: run: echo ::set-output name=COMMIT_HASH::${{ github.sha }} - name: Build Artifact - run: GOARCH=amd64 go build -v --tags v-${{ steps.get_commit_hash.outputs.COMMIT_HASH }} -o app - - - name: Set up SSH Agent - run: | - eval $(ssh-agent) - ssh-add - <<< "${{ secrets.KEY }}" + run: GOARCH=amd64 go build -v --tags v-${{ steps.get_commit_hash.outputs.COMMIT_HASH }} -o sally - name: Deploy Artifact to Server uses: appleboy/scp-action@master @@ -38,7 +33,7 @@ jobs: username: ${{ secrets.USERNAME }} key: ${{ secrets.KEY }} port: ${{ secrets.PORT }} - source: "app" + source: "sally" target: "~/app" - name: Restart Application diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a47ac63..89eb7ff 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,8 +4,8 @@