File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,19 @@ jobs:
35
35
- name : Switch branch
36
36
run : |
37
37
git switch gh-pages
38
+ - name : Remove previous docs
39
+ run : |
40
+ rm -rf latest
41
+ rm -rf ${{ steps.cpv.outputs.committed-version }}
38
42
- name : Commit docs
43
+ working-directory : ${{ env.WORKING_DIRECTORY }}
39
44
run : |
40
45
git config --local user.email "[email protected] "
41
46
git config --local user.name "Dohyung Ahn"
42
- rm -rf ../../latest
43
- rm -rf ../../${{ steps.cpv.outputs.committed-version }}
44
47
mv -i _latest ../../latest
45
48
mv _${{ steps.cpv.outputs.committed-version }} ../../${{ steps.cpv.outputs.committed-version }}
46
49
git add -A
47
50
git commit -m ${{ steps.cpv.outputs.committed-version }}
48
- working-directory : ${{ env.WORKING_DIRECTORY }}
49
51
- name : Publish new docs
50
52
uses : ad-m/github-push-action@master
51
53
with :
You can’t perform that action at this time.
0 commit comments