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 b186238 commit b77f0b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:

- name: Build Docker image
run: |
docker build . -f ./Dockerfile -t fivlao/sound:latest-dev
printf "%s\n" "{{ secrets.EC2_PRIVATE_KEY }}" > key.pem
printf "%s\n" "$EC2_PRIVATE_KEY" > key.pem
cat key.pem
shell: bash
env:
EC2_PRIVATE_KEY: ${{ secrets.EC2_PRIVATE_KEY }}

0 comments on commit b77f0b9

Please sign in to comment.