Install SSH key #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |