Skip to content

Commit

Permalink
Update createIndexesfromMarkdown.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0Kerbal committed Aug 7, 2023
1 parent 6cd22d3 commit 37f1bb0
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/createIndexesfromMarkdown.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 1.0.5.0
# 1.1.1.0
# created: 05 Feb 2022
# updated: 05 Oct 2022
# updated: 28 May 2023
# update checkout to main
# update checkout to v3.0.2
# Create Indexes from Markdown
# https://github.com/DaanV2/Markdown-Action-Create-Indexes
Expand All @@ -15,16 +16,20 @@ on:
branches: [ master ]
workflow_dispatch:

permissions: write-all

jobs:
build:
runs-on: ubuntu-latest
steps:
# - uses: actions/checkout@latest
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@main
# - uses: DaanV2/Markdown-Action-Create-Indexes@latest

# Runs a single command using the runners shell
- uses: DaanV2/Markdown-Action-Create-Indexes@main
with:
folder: ${{github.workspace}}/docs/
filename: index.md

- name: Commit changes
continue-on-error: true
Expand All @@ -34,4 +39,4 @@ jobs:
git config --global user.name "zer0Kerbal"
git add .
git commit -m "auto: Generated markdown indexes"
git push
git push

0 comments on commit 37f1bb0

Please sign in to comment.