We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aa0766 commit 8bc5795Copy full SHA for 8bc5795
.github/workflows/autopush.yml
@@ -7,14 +7,15 @@ on:
7
jobs:
8
autopush:
9
name: Automatic push to gitlab.tiker.net
10
+ if: startsWith(github.repository, 'inducer/')
11
runs-on: ubuntu-latest
12
steps:
- - uses: actions/checkout@v3
13
+ - uses: actions/checkout@v4
14
- run: |
- 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
+ curl -L -O https://tiker.net/ci-support-v0
+ . ./ci-support-v0
+ mirror_github_to_gitlab
18
+
19
env:
20
GITLAB_AUTOPUSH_KEY: ${{ secrets.GITLAB_AUTOPUSH_KEY }}
21
0 commit comments