Skip to content

Commit

Permalink
Update merge-to-docs-branch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndSonder authored Jan 23, 2024
1 parent c022e23 commit 96075e8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/merge-to-docs-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: clone
run: |
git clone https://${{ secrets.GITHUB_TOKEN }}@github.com/PaddleJitLab/CUDATutorial.git CUDATutorial
git fetch --all
- name: Merge to Docs Branch
run: |
git config user.name "andsonder"
git config user.email "changlu@keter.top"
git config pull.rebase false
git clone https://${{ secrets.GITHUB_TOKEN }}@github.com/PaddleJitLab/CUDATutorial.git CUDATutorial
cd CUDATutorial/
git fetch --all
git checkout -b docs origin/docs
git pull origin develop
Expand Down

0 comments on commit 96075e8

Please sign in to comment.