Skip to content

Commit ec45bdf

Browse files
committed
Merge branch 'main' into production-pilot
2 parents b3ac2db + a081f39 commit ec45bdf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/autopush.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ on:
77
jobs:
88
autopush:
99
name: Automatic push to gitlab.tiker.net
10+
if: startsWith(github.repository, 'inducer/')
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v4
1314
- run: |
14-
mkdir ~/.ssh && echo -e "Host gitlab.tiker.net\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
15-
eval $(ssh-agent) && echo "$GITLAB_AUTOPUSH_KEY" | ssh-add -
16-
git fetch --unshallow
17-
git push "[email protected]:inducer/$(basename $GITHUB_REPOSITORY).git" main
15+
curl -L -O https://tiker.net/ci-support-v0
16+
. ./ci-support-v0
17+
mirror_github_to_gitlab
18+
1819
env:
1920
GITLAB_AUTOPUSH_KEY: ${{ secrets.GITLAB_AUTOPUSH_KEY }}
2021

0 commit comments

Comments
 (0)