Skip to content

Commit

Permalink
Added SSH user and host.
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklan committed Nov 12, 2021
1 parent 94c9479 commit 29a6ef1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/push-to-drupal-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
push:

env:
SSH_USER: git
SSH_HOST: git.drupal.org
SSH_KEY: ${{ secrets.drupal_org_key }}
DRUPAL_ORG_REPO: git@git.drupal.org:project/yandex_yml.git

Expand All @@ -18,6 +20,12 @@ jobs:
echo "$SSH_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
cat >>~/.ssh/config <<END
Host drupalorg
HostName $SSH_HOST
User $SSH_USER
IdentityFile ~/.ssh/id_rsa
StrictHostKeyChecking no
END
- name: Check out repository
uses: actions/checkout@v2
Expand Down

0 comments on commit 29a6ef1

Please sign in to comment.