Skip to content

Commit 6ae84ba

Browse files
Use --dry-run to check for stagged files
1 parent aa42e4c commit 6ae84ba

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ jobs:
2020
- name: Build docs bundle
2121
run: npm run build
2222

23-
- name: Navigate into the build dist folder
24-
run: cd docs/.vuepress/dist
25-
2623
- name: Commit changes
24+
run: cd docs/.vuepress/dist
2725
uses: EndBug/add-and-commit@master
2826
with:
2927
branch: "master"
30-
add: ". --force"
28+
add: ". --dry-run"
3129
message: "Deploy docs"
3230
env:
3331
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)