Skip to content

Commit

Permalink
Trying to fix ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr committed Feb 3, 2024
1 parent 0eea6fd commit 8bdbc49
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/esp82xx-nonos-linklayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,18 @@ jobs:
- name: Initialize deploy tools
env:
ESP8266_ARDUINO_CORE_DIR: ${{ github.workspace }}/esp8266
SSH_DEPLOY_SECRET: ${{ secrets.SSH_DEPLOY_KEY }}
SSH_DEPLOY_KEY: ${HOME}/.ssh/deploy_key
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
run: |
mkdir ${HOME}/.ssh
cat "${SSH_DEPLOY_SECRET}" > "${SSH_DEPLOY_KEY}"
chmod 600 "${SSH_DEPLOY_KEY}"
cat "${SSH_DEPLOY_KEY}" > ${HOME}/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key
echo -ne "Host github.com\n\tHostName github.com\n\tIdentityFile ${SSH_DEPLOY_KEY}\n" > \
echo -ne "Host github.com\n\tHostname github.com\n\tIdentityFile ~/.ssh/deploy_key\n" > \
${HOME}/.ssh/config
git config user.email "[email protected]"
git config user.name "GitHub CI Action"
git config user.name "Maxim Prokhorov (CI)"
git config user.email "[email protected]"
- name: Initialize build environment
run: |
Expand All @@ -58,7 +57,7 @@ jobs:
- name: Prepare lwip2 builder
run: |
pushd ${ESP8266_ARDUINO_CORE_DIR}
git remote add deploy ${{ github.repositoryUrl }}
git remote add deploy [email protected]:${{ github.repository }}.git
git switch -c lwip2-rebuild
git submodule update --init -- tools/sdk/lwip2/builder
git submodule update --remote --merge -- tools/sdk/lwip2/builder
Expand Down

0 comments on commit 8bdbc49

Please sign in to comment.