Skip to content

Commit

Permalink
updated checkout code
Browse files Browse the repository at this point in the history
  • Loading branch information
themrinalsinha committed Sep 6, 2024
1 parent dddcbb2 commit 623a1ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setting up SSH Key
run: |
mkdir -p ~/.ssh/
eval "$(ssh-agent -s)"
echo "${{ secrets.SRV_PVT_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan ${{ secrets.DL_HOST }} >> ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
cd $GITHUB_WORKSPACE
ls -la
- name: Deploy to server
run: |
Expand Down

0 comments on commit 623a1ad

Please sign in to comment.