Skip to content

Commit

Permalink
Added checkout.
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklan committed Nov 12, 2021
1 parent 51bb30d commit 02a06de
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/push-to-drupal-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ jobs:
push:
runs-on: ubuntu-latest
steps:
- name: 'Create SSH key'
- name: Create SSH key
run: |
mkdir -p ~/.ssh
echo "$SSH_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
cat >>~/.ssh/config <<END
- name: 'Added remote'
- name: Check out repository
uses: actions/checkout

- name: Add remote
run: git remote add drupalorg $DRUPAL_ORG_REPO

- name: 'Push changes'
- name: Push changes
run: git push drupalorg --all

0 comments on commit 02a06de

Please sign in to comment.