Skip to content

Commit

Permalink
Only create file if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
firasm authored May 1, 2024
1 parent 8e957e2 commit 8935fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
COURSE_NAME: "cpsc455"
TERM: "2024_S"
run: |
mkdir ~/.ssh
mkdir -p ~/.ssh
echo "$REMOTE_KEY" > ~/.ssh/id_rsa
ssh-keyscan -H $REMOTE_HOST >> ~/.ssh/known_hosts
chmod 600 ~/.ssh/id_rsa
Expand Down

0 comments on commit 8935fc5

Please sign in to comment.