File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 uses : actions/upload-artifact@v4
3636 with :
3737 path : target/doc/
38+ name : rustdoc
3839
3940 build-node :
4041 name : Build typedoc
@@ -73,15 +74,26 @@ jobs:
7374 uses : actions/upload-artifact@v4
7475 with :
7576 path : impit-node/docs/
76- # deploy:
77- # name: Deploy
78- # if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
79- # environment:
80- # name: github-pages
81- # url: ${{ steps.deployment.outputs.page_url }}
82- # runs-on: ubuntu-latest
83- # needs: build-rust
84- # steps:
85- # - name: Deploy to GitHub Pages
86- # id: deployment
87- # uses: actions/deploy-pages@v4
77+ name : typedoc
78+
79+ deploy :
80+ name : Deploy
81+ if : github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
82+ environment :
83+ name : github-pages
84+ url : ${{ steps.deployment.outputs.page_url }}
85+ runs-on : ubuntu-latest
86+ needs : [build-rust, build-node]
87+ steps :
88+ - name : Download typedoc artifact
89+ uses : actions/download-artifact@v5
90+ with :
91+ name : typedoc
92+ path : docs/
93+ - name : Setup pages
94+ uses : actions/configure-pages@v5
95+ - name : Deploy to GitHub Pages
96+ id : deployment
97+ uses : actions/deploy-pages@v4
98+ with :
99+ folder : docs
You can’t perform that action at this time.
0 commit comments