Skip to content

Commit 4989777

Browse files
committed
feat(actions): Add spellcheck GitHub action
1 parent 3326a54 commit 4989777

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/retype-action.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,33 @@ on:
66
- master
77

88
jobs:
9+
build:
10+
- name: Get all changed markdown files
11+
uses: tj-actions/changed-files@v45
12+
id: changed_files
13+
with:
14+
files: |
15+
**.md
16+
17+
- name: Run Spellcheck
18+
id: spellcheck
19+
uses: rojopolis/spellcheck-github-actions@v0
20+
with:
21+
task_name: Markdown
22+
source_files: ${{ steps.changed_files.outputs.all_changed_files }}
23+
924
publish:
1025
name: Publish to retype branch
11-
1226
runs-on: ubuntu-latest
13-
1427
permissions:
1528
contents: write
1629

1730
steps:
1831
- uses: actions/checkout@v4
19-
2032
- uses: actions/setup-dotnet@v1
2133
with:
2234
dotnet-version: 7.0.x
23-
2435
- uses: retypeapp/action-build@latest
25-
2636
- uses: retypeapp/action-github-pages@latest
2737
with:
2838
update-branch: true

todo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ layout: page
1313
- Redudancy
1414

1515
### Guides
16-
- Setup
16+
- Database Setup (Code)
1717
- Practice
1818
- Minigames
1919
- Factions

0 commit comments

Comments
 (0)