Skip to content

Commit ccc9fb3

Browse files
committed
Update createIndexesfromMarkdown.yml
1 parent acb0a5d commit ccc9fb3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/createIndexesfromMarkdown.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 1.0.5.0
1+
# 1.1.0.0
22
# created: 05 Feb 2022
3-
# updated: 05 Oct 2022
3+
# updated: 09 Apr 2023
44
# update checkout to v3.0.2
55
# Create Indexes from Markdown
66
# https://github.com/DaanV2/Markdown-Action-Create-Indexes
@@ -15,16 +15,20 @@ on:
1515
branches: [ master ]
1616
workflow_dispatch:
1717

18+
permissions: write-all
19+
1820
jobs:
1921
build:
2022
runs-on: ubuntu-latest
2123
steps:
22-
# - uses: actions/checkout@latest
24+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2325
- uses: actions/checkout@main
24-
# - uses: DaanV2/Markdown-Action-Create-Indexes@latest
26+
27+
# Runs a single command using the runners shell
2528
- uses: DaanV2/Markdown-Action-Create-Indexes@main
2629
with:
2730
folder: ${{github.workspace}}/docs/
31+
filename: index.md
2832

2933
- name: Commit changes
3034
continue-on-error: true
@@ -34,4 +38,4 @@ jobs:
3438
git config --global user.name "zer0Kerbal"
3539
git add .
3640
git commit -m "auto: Generated markdown indexes"
37-
git push
41+
git push

0 commit comments

Comments
 (0)