-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d52860
commit d8567da
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@v2 | ||
|
||
- name: Ensure main branch exists | ||
run: | | ||
|
@@ -21,13 +21,12 @@ jobs: | |
run: | | ||
git config --global user.name 'github-actions' | ||
git config --global user.email '[email protected]' | ||
git config --global http.postBuffer 10000000 # 10 MB | ||
- name: Add GitLab SSH key | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }} | ||
|
||
- name: Add GitLab remote and push | ||
env: | ||
GITLAB_URL: ${{ secrets.GITLAB_URL }} | ||
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} | ||
run: | | ||
git remote add gitlab [email protected]:nyu/tim-reasoning.git | ||
git push -u gitlab main | ||
git remote set-url origin https://oauth2:$GITLAB_TOKEN@$GITLAB_URL | ||
git push origin main |