Skip to content

Commit

Permalink
fix ssh key
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriipavlov committed Dec 18, 2023
1 parent d6fcd13 commit b7d5c42
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/job-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up SSH key
run: |
mkdir -p ~/.ssh/
echo '${{ secrets.SSH_KEY }}' > ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa
echo '${{ secrets.SSH_CONFIG }}' > ~/.ssh/config
- name: Prepare .env
run: |
cp ./config/environment/.env.main .env
Expand All @@ -58,6 +51,13 @@ jobs:
path: .
key: prepared-build-cache-${{ github.run_number }}

- name: Set up SSH key
run: |
mkdir -p ~/.ssh/
echo '${{ secrets.SSH_KEY }}' > ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa
echo '${{ secrets.SSH_CONFIG }}' > ~/.ssh/config
- name: Install Composer Dependencies
run: |
composer update-dev
Expand Down

0 comments on commit b7d5c42

Please sign in to comment.