Skip to content
autopush.yml 530 B
Newer Older
Andreas Klöckner's avatar
Andreas Klöckner committed
name: Gitlab mirror
on:
    push:
        branches:
        - main

jobs:
    autopush:
        name: Automatic push to gitlab.tiker.net
        if: startsWith(github.repository, 'inducer/')
Andreas Klöckner's avatar
Andreas Klöckner committed
        runs-on: ubuntu-latest
        steps:
        -   uses: actions/checkout@v4
Andreas Klöckner's avatar
Andreas Klöckner committed
        -   run: |
                curl -L -O https://tiker.net/ci-support-v0
                . ./ci-support-v0
                mirror_github_to_gitlab

Andreas Klöckner's avatar
Andreas Klöckner committed
            env:
                GITLAB_AUTOPUSH_KEY: ${{ secrets.GITLAB_AUTOPUSH_KEY }}

# vim: sw=4