File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ concurrency:
99 group : ${{ github.workflow }}-${{ github.ref }}
1010 cancel-in-progress : true
1111
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+
1217jobs :
1318 docs :
1419 name : All crates
@@ -61,10 +66,13 @@ jobs:
6166 mv target/doc/* doc/
6267 mv bindings/matrix-sdk-crypto-js/docs/* doc/bindings/matrix-sdk-crypto-js/
6368
64- - name : Deploy documentation
69+ - name : Upload artifact
6570 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
66- uses : peaceiris/ actions-gh- pages@v3
71+ uses : actions/upload- pages-artifact@v1
6772 with :
68- github_token : ${{ secrets.GITHUB_TOKEN }}
69- publish_dir : ./doc/
70- force_orphan : true
73+ path : ' ./doc/'
74+
75+ - name : Deploy to GitHub Pages
76+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
77+ id : deployment
78+ uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments