From 988958440bd1889186d08d630ffdd9bcbbefc305 Mon Sep 17 00:00:00 2001 From: Fleeym <61891787+Fleeym@users.noreply.github.com> Date: Sat, 24 Feb 2024 14:34:28 +0200 Subject: [PATCH] add bzip2 for sending to server --- .github/workflows/deploy.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ee8f241..9fa47cd 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -12,6 +12,11 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Install needed tools + run: | + sudo apt-get update + sudo apt-get install -y bzip2 + - name: Setup env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV @@ -34,7 +39,7 @@ jobs: mkdir -p ~/.ssh echo "${{ secrets.PRIVATE_KEY }}" > ~/.ssh/index_key chmod 600 ~/.ssh/index_key - docker save geode-index:${{ github.ref }} | ssh -i ~/.ssh/index_key -o StrictHostKeyChecking=no ${{ secrets.INDEX_USER }}@${{ secrets.INDEX_SERVER }} docker load + docker save geode-index:${{ github.ref }} | bzip2 | ssh -i ~/.ssh/index_key -o StrictHostKeyChecking=no ${{ secrets.INDEX_USER }}@${{ secrets.INDEX_SERVER }} docker load - name: Replace current deployment run: |