Skip to content

Commit 0cf6392

Browse files
committed
Fix formstting
1 parent 8f79b69 commit 0cf6392

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2024-08-10-ci-with-github-actions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,14 @@ jobs:
168168
uses: actions/checkout@v4
169169
```
170170

171-
Finally, we can run the tests by running Doc Detective and passing the path to the `_posts` directory in the repository we're running the tests on. We’ll also set `exit-on-fail` to `true` to throw an error if there are any failed tests.
171+
Finally, we can run the tests by running Doc Detective and passing the path to the `_posts` directory in the repository we're running the tests on. We’ll also set `exit_on_fail` to `true` to throw an error if there are any failed tests.
172172

173173
```yaml
174174
- name: Run Doc Detective tests
175175
uses: doc-detective/github-action@v1
176176
with:
177177
input: _posts/
178-
exit-on-fail: true
178+
exit_on_fail: true
179179
```
180180

181181
Putting the entire workflow together, we get the following:
@@ -200,7 +200,7 @@ jobs:
200200
uses: doc-detective/github-action@v1
201201
with:
202202
input: _posts/
203-
exit-on-fail: true
203+
exit-_on_fail: true
204204
```
205205

206206
Save and commit the changes to your repository and push them to the `gh-pages` branch. Now, whenever you push new content to the `gh-pages` branch, the tests will run and you will be able to see the results in the Actions tab of your repository.

0 commit comments

Comments
 (0)