Skip to content

Install SSH key

Install SSH key #1

Workflow file for this run

name: dorg_git_sync
on: push
jobs:
dorg_git_sync:
name: dorg_git_sync
runs-on: ubuntu-latest
container:
image: ghcr.io/dpc-sdp/bay/ci-builder:5.x
steps:
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
name: id_rsa
if_key_exists: fail
- name: Checkout code
uses: actions/checkout@v4
- name: Configure Drupal.org remote
run: |
git remote add dorg [email protected]:project/tide_core.git
- name: Push the current branch to the Drupal.org remote
run: |
git push dorg HEAD