Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loopy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
loopy
Commits
ed67e150
Commit
ed67e150
authored
10 months ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Gitlab autopush: use script from ci-support
parent
b2f63c25
No related branches found
No related tags found
No related merge requests found
Pipeline
#554425
failed
10 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/autopush.yml
+4
-7
4 additions, 7 deletions
.github/workflows/autopush.yml
with
4 additions
and
7 deletions
.github/workflows/autopush.yml
+
4
−
7
View file @
ed67e150
...
...
@@ -3,7 +3,6 @@ on:
push
:
branches
:
-
main
-
kernel_callables_v3-edit2
jobs
:
autopush
:
...
...
@@ -12,12 +11,10 @@ jobs:
steps
:
-
uses
:
actions/checkout@v4
-
run
:
|
mkdir ~/.ssh && echo -e "Host gitlab.tiker.net\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
eval $(ssh-agent) && echo "$GITLAB_AUTOPUSH_KEY" | ssh-add -
git fetch --unshallow
TGT_BRANCH="${GITHUB_REF#refs/heads/}"
echo "pushing to $TGT_BRANCH..."
git push "git@gitlab.tiker.net:inducer/$(basename $GITHUB_REPOSITORY).git" "$TGT_BRANCH"
curl -L -O https://tiker.net/ci-support-v0
. ./ci-support-v0
mirror_github_to_gitlab
env
:
GITLAB_AUTOPUSH_KEY
:
${{ secrets.GITLAB_AUTOPUSH_KEY }}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment