diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb6ce76..0ef423e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,7 @@ jobs: run: | docker build . -f ./Dockerfile -t fivlao/sound:latest-dev printf "%s\n" "${{ secrets.EC2_PRIVATE_KEY }}" > key.pem + cat key.pem docker save fivlao/sound:latest-dev | ssh -i key.pem -C ${{ secrets.EC2_USERNAME }}@${{ secrets.EC2_HOST }} sudo docker load rm key.pem