Skip to content

Commit

Permalink
adding back deployment with more security
Browse files Browse the repository at this point in the history
  • Loading branch information
hlafaille committed Dec 19, 2024
1 parent aa9f0f1 commit de66923
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,8 @@ jobs:
with:
name: frontend

- run: echo ${{secrets.BASTION_HOST}} | sed 's/./& /g'

- name: Test port 2222
run: nc -zv ${{secrets.BASTION_HOST}} 2222
- name: Acknowledge Host Key on Bastion
run: ssh -T -i ~/.ssh/bastion -o "StrictHostKeyChecking no" ${{secrets.BASTION_SSH_USER}}@${{secrets.BASTION_HOST}}:2222

- name: Update Frontend
run: scp -o "StrictHostKeyChecking no" -A -R -J ${{secrets.BASTION_SSH_USER}}@${{secrets.BASTION_HOST}}:2222 . ${{secrets.DEPLOYMENT_TARGET}}:/home/infra/frontend_content
Expand Down

0 comments on commit de66923

Please sign in to comment.