Skip to content

Commit

Permalink
add bzip2 for sending to server
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Feb 24, 2024
1 parent 6bccd24 commit 9889584
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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: |
Expand Down

0 comments on commit 9889584

Please sign in to comment.