Skip to content

Commit

Permalink
Fix cd error
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi committed Oct 5, 2022
1 parent ad7e8a0 commit 6793ade
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ jobs:
echo "SSH_AGENT_PID=$SSH_AGENT_PID" >> $GITHUB_ENV
echo '${{ secrets.SSH_KEY }}' | tr -d '\r' | ssh-add -
- name: Setup ssh credentials for server
run: echo '${{ secrets.HOST }} ${{ secrets.SSH_SERVER_CERT }}' >> "$HOME/.ssh/known_hosts"
run: |
mkdir -p "$HOME/.ssh"
echo '${{ secrets.HOST }} ${{ secrets.SSH_SERVER_CERT }}' >> "$HOME/.ssh/known_hosts"
- name: Build Docker images on remote host
run: docker --context production compose -f docker-compose.yml -f docker-compose.ssl.yml -f docker-compose.aws.yml build
- name: Start Docker containers on remote host
Expand Down

0 comments on commit 6793ade

Please sign in to comment.