Skip to content

Commit 1d63ffa

Browse files
committed
set back to max version
1 parent 0d22db5 commit 1d63ffa

File tree

1 file changed

+10
-25
lines changed

1 file changed

+10
-25
lines changed

.github/workflows/convert.yml

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,24 @@
11
name: convert readme
2-
3-
on:
2+
'on':
43
push:
54
tags:
6-
- "*"
7-
8-
permissions:
9-
contents: write
10-
5+
- '*'
116
jobs:
127
convert:
138
runs-on: ubuntu-latest
14-
159
steps:
16-
- name: Checkout full history
17-
uses: actions/checkout@v4
18-
with:
19-
ref: master
20-
fetch-depth: 0 # <-- allows commits, no detached HEAD
21-
persist-credentials: false
22-
23-
- name: Install pandoc
10+
- uses: actions/checkout@v2
11+
- name: convert to rst
2412
run: |
2513
wget https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-1-amd64.deb
2614
sudo dpkg -i pandoc-2.19.2-1-amd64.deb
27-
28-
- name: Convert README.md to docs/index.rst
29-
run: |
3015
pandoc README.md --from markdown -f gfm --to rst -s -o docs/index.rst
3116
cat docs/appending >> docs/index.rst
32-
33-
- name: Commit and force-push updated index.rst
17+
- name: commit index.rst
3418
run: |
35-
git config --global user.name "YoEnte"
36-
git config --global user.email "[email protected]"
19+
git config --global user.name 'Falcon'
20+
git config --global user.email '[email protected]'
3721
git add docs/index.rst
38-
git commit -m "docs: auto update index.rst" || exit 0
39-
git push --force https://x-access-token:${{ secrets.PAT_PUSH_MASTER }}@github.com/software-challenge/player_python.git master
22+
git commit -m "docs: auto update index.rst"
23+
git push
24+
continue-on-error: true

0 commit comments

Comments
 (0)