Skip to content

versions-updated

versions-updated #120

Workflow file for this run

name: Mirror Sync
on:
push:
repository_dispatch:
types: [ versions-updated ]
jobs:
sync-mirror:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'inpsyde' && !contains(github.event.head_commit.message, 'skip mirror') }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.INPSYDE_BOT_SSH_PRIVATE_KEY }}
- run: |
git config --global user.email "${{ secrets.INPSYDE_BOT_EMAIL }}"
git config --global user.name "${{ secrets.INPSYDE_BOT_USER }}"
git push --mirror --force [email protected]:Inpsyde-Global-Service-Provider/gutenberg-versions-mirror.git