Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fivlao authored Jan 7, 2024
1 parent db81058 commit db9e095
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit db9e095

Please sign in to comment.