Skip to content

Commit 403274c

Browse files
committed
fix: readme convert checkout branch
1 parent 9df71a1 commit 403274c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/convert.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ jobs:
1414
sudo dpkg -i pandoc-2.19.2-1-amd64.deb
1515
pandoc README.md --from markdown -f gfm --to rst -s -o docs/index.rst
1616
cat docs/appending >> docs/index.rst
17+
- name: checkout master
18+
run: |
19+
git fetch origin master
20+
git checkout master
21+
git pull origin master
1722
- name: commit index.rst
1823
run: |
1924
git config --global user.name 'YoEnte'
2025
git config --global user.email 'anthonyroeder@live.de'
2126
git add docs/index.rst
2227
git commit -m "docs: auto update index.rst"
23-
git push origin HEAD:master --force-with-lease
28+
git push origin master --force-with-lease
2429
continue-on-error: true

0 commit comments

Comments
 (0)