Skip to content

Commit

Permalink
ci: check ssh config file
Browse files Browse the repository at this point in the history
Signed-off-by: Fery Wardiyanto <[email protected]>
  • Loading branch information
feryardiant committed Apr 1, 2024
1 parent 9b50595 commit 7d43e1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ jobs:
SSH_CONFIG: ${{ secrets.DEPLOY_SSH_CONFIG }}
run: |
[[ ! -d $HOME/.ssh ]] && mkdir $HOME/.ssh
echo $SSH_RSAKEY > $HOME/.ssh/id_rsa && echo $SSH_CONFIG > $HOME/.ssh/config && chmod 600 $HOME/.ssh/*
echo $SSH_RSAKEY > $HOME/.ssh/id_rsa && echo $SSH_CONFIG > $HOME/.ssh/config
chmod 600 $HOME/.ssh/* && cat $HOME/.ssh/config
git config user.name "Creasi.HQ" && git config user.email "[email protected]"
git clone creasi.co:~/git/creasico-skeleton.git storage/deploy-tmp
Expand Down

0 comments on commit 7d43e1a

Please sign in to comment.