File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed
Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88jobs :
9- docs :
9+ build :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v4
3434 path : docs/.vitepress/dist
3535
3636 deploy :
37- needs : docs
37+ needs : build
3838 runs-on : ubuntu-latest
3939 permissions :
4040 pages : write
4646 - name : Deploy to GitHub Pages
4747 id : deployment
4848 uses : actions/deploy-pages@v4
49-
50- build :
51- runs-on : ubuntu-latest
52- if : github.repository == 'doocs/advanced-java'
53- needs : docs
54- steps :
55- - name : Sync to Gitee
56- uses : wearerequired/git-mirror-action@master
57- env :
58- SSH_PRIVATE_KEY : ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
59- with :
60- source-repo :
[email protected] :doocs/advanced-java.git 61- destination-repo :
[email protected] :Doocs/advanced-java.git
You can’t perform that action at this time.
0 commit comments