Skip to content

Update merge-to-docs-branch.yml #21

Update merge-to-docs-branch.yml

Update merge-to-docs-branch.yml #21

name: Merge to Docs Branch
on:
push:
branches:
- develop
jobs:
merge-to-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Merge to Docs Branch
run: |
git config user.name "andsonder"
git config user.email "changlu@keter.top"
git config pull.rebase false
git fetch --all
git pull origin develop --allow-unrelated-histories --no-edit
git checkout -b docs origin/docs
git pull origin docs --allow-unrelated-histories --no-edit
git pull origin develop --allow-unrelated-histories --no-edit
name: Merge to Docs Branch
on:

Check failure on line 32 in .github/workflows/merge-to-docs-branch.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/merge-to-docs-branch.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
push:
branches:
- develop
jobs:
merge-to-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Merge to Docs Branch
run: |
git config user.name "andsonder"
git config user.email "changlu@keter.top"
git config pull.rebase false
git fetch --all
git pull origin develop --allow-unrelated-histories --no-edit
git checkout -b docs origin/docs
git pull origin docs --allow-unrelated-histories --no-edit
git pull origin develop --allow-unrelated-histories --no-edit
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/PaddleJitLab/CUDATutorial docs