Add table of contents #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Extract PowerShell code from markdown | |
on: push | |
jobs: | |
codeextractor: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: extract code | |
shell: pwsh | |
run: | | |
npm install -g codedown | |
./scripts/extract-code.ps1 | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add . | |
git commit -m "ci build" | |
# git push # figure out how to push back to repo | |
# - name: Upload math result for job 1 | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: markdown-files | |
# path: | | |
# **/*.md | |
# **/*.ps1 | |