sibling of 656b296d6e23ba7fe9ea25be6e87b777b6025f68 #1649
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: "authentik-repo-mirror" | |
on: [push, delete] | |
jobs: | |
to_internal: | |
if: ${{ github.repository != 'goauthentik/authentik-internal' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- if: ${{ env.MIRROR_KEY != '' }} | |
uses: pixta-dev/repository-mirroring-action@v1 | |
with: | |
target_repo_url: | |
[email protected]:goauthentik/authentik-internal.git | |
ssh_private_key: | |
${{ secrets.GH_MIRROR_KEY }} | |
env: | |
MIRROR_KEY: ${{ secrets.GH_MIRROR_KEY }} |