Creating DevOps on Markdown, I thought could be a great idea for checking my blog/book, as it’s on GitHub already.
GitHub Actions: Resulting in artifacts with all spelling errors.

Spellcheck error resuhttps://www.ssp.sh/brain/Pasted%20image%2020231026142515.png20231026142515.png">
# GitHub Workflow of Actions
Example for GitHub Workflow:
1 2 3 4 5 6 7 8 9101112131415161718192021222324252627282930313233343536373839404142
| name: Spell Check Markdown Fileson: push: branches: - mainjobs: spellcheck: runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v3 - name: Set up Node.js uses: actions/setup-node@v3 with: node-version: 'lts/*' #'16' lts: action will always set up the latest LTS version available at runtime - name: Install Markdown Spellcheck run: | npm i markdown-spellcheck - name: Run Markdown Spellcheck run: | cd src find . -name "*.md" | xargs npx markdown-spellcheck -r -n -a --en-us | tee spellcheck-results.md - name: Upload spellcheck results as artifact uses: actions/upload-artifact@v3 with: name: spellcheck-results path: src/spellcheck-results.md # - name: Commit and Push Spellcheck Results # run: | # git config --global user.name 'GitHub Actions' # git config --global user.email 'actions@github.com' # git add src/spellcheck-results.html # git commit -m "Add spellcheck results" # git push
|
# Other Actions
Origin:
References:
Created 2023-10-26