Skip to content

Commit

Permalink
trying to fix rsa key
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr223 committed Aug 11, 2023
1 parent 52a4590 commit 77a2e35
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
- uses: actions/checkout@v3
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
- run: |
mkdir ~/.ssh/
touch ~/.ssh/config
echo ${{ secrets.SSH_PRIVATE_KEY_MDRUSSO }} >> ~/.ssh/id_rsa_submit
cp ${{ github.workspace}}/deploy/ssh_config ~/.ssh/config
mkdir -p /home/runner/.ssh/
touch /home/runner/.ssh/config
echo "${{ secrets.SSH_PRIVATE_KEY_MDRUSSO }}" >> /home/runner/.ssh/id_rsa_submit
chmod 600 /home/runner/.ssh/id_rsa_submit
cp ${{ github.workspace}}/deploy/ssh_config /home/runner/.ssh/config
ssh submit 'bash -s' < ${{ github.workspace }}/deploy/install.sh
# - uses: webfactory/[email protected]
Expand Down

0 comments on commit 77a2e35

Please sign in to comment.