Skip to content

Commit

Permalink
Add limit for buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
roquelopez committed May 29, 2024
1 parent 0d52860 commit d8567da
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/push_gitlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2

- name: Ensure main branch exists
run: |
Expand All @@ -21,13 +21,12 @@ jobs:
run: |
git config --global user.name 'github-actions'
git config --global user.email 'actions@github.com'
git config --global http.postBuffer 10000000 # 10 MB
- name: Add GitLab SSH key
uses: webfactory/ssh-agent@v0.9.0
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 git@gitlab.ids.ll.mit.edu:nyu/tim-reasoning.git
git push -u gitlab main
git remote set-url origin https://oauth2:$GITLAB_TOKEN@$GITLAB_URL
git push origin main

0 comments on commit d8567da

Please sign in to comment.