Skip to content

Commit e03afc2

Browse files
Remove repository init step
1 parent 8ecf53f commit e03afc2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,11 @@ jobs:
2020
- name: Build docs bundle
2121
run: npm run build
2222

23-
- name: Init a new repository
24-
run: |
25-
cd docs/.vuepress/dist
26-
git init
27-
2823
- name: Commit changes
2924
uses: EndBug/add-and-commit@master
3025
with:
3126
branch: "master"
32-
cwd: "./docs/.vuepress/dist"
33-
add: ". --force"
27+
add: ". --dry-run"
3428
message: "Deploy docs"
3529
env:
3630
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)