File tree Expand file tree Collapse file tree 5 files changed +25
-6
lines changed Expand file tree Collapse file tree 5 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 2323permissions :
2424 contents : write
2525 actions : write
26+ pages : write
27+ id-token : write
2628
2729jobs :
2830 build_documentation :
4244 - name : Build documentation
4345 run : cargo doc --no-deps --all-features
4446 - name : Add index redirect
45- run : echo '<meta http-equiv="refresh" content="0; url=dlt_tracing_appender">' > target/doc/index.html
47+ run : echo '<meta http-equiv="refresh" content="0; url=tracing_dlt">' > target/doc/index.html
48+ - name : Upload artifact for GitHub Pages
49+ # if: github.ref == 'refs/heads/main'
50+ uses : actions/upload-pages-artifact@v3
51+ with :
52+ path : target/doc
4653 - name : Create docs archive
4754 if : startsWith(github.ref, 'refs/tags/')
4855 run : |
5360 uses : softprops/action-gh-release@v1
5461 with :
5562 files : rustdoc.tar.gz
63+
64+ deploy_pages :
65+ # if: github.ref == 'refs/heads/main'
66+ needs : build_documentation
67+ runs-on : ubuntu-latest
68+ environment :
69+ name : github-pages
70+ url : ${{ steps.deployment.outputs.page_url }}
71+ steps :
72+ - name : Deploy to GitHub Pages
73+ id : deployment
74+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1212[workspace .package ]
1313edition = " 2024"
1414license = " Apache-2.0"
15- homepage = " https://github.com/eclipse-opensovd/classic-diagnostic-adapter "
15+ homepage = " https://github.com/eclipse-opensovd/dlt-tracing-lib "
1616
1717[workspace ]
1818resolver = " 3"
Original file line number Diff line number Diff line change 1313name = " dlt-rs"
1414version = " 0.1.0"
1515edition.workspace = true
16- publish = false
16+ publish = true
1717description = " Safe and idiomatic Rust wrapper for the C library libdlt to provide DLT logging capabilities for Rust applications"
1818homepage.workspace = true
1919license.workspace = true
Original file line number Diff line number Diff line change 1313name = " dlt-sys"
1414version = " 0.1.0"
1515edition.workspace = true
16- publish = false
17- description = " Wrapper around the C library libdlt to provide DLT logging capabilities for Rust applications "
16+ publish = true
17+ description = " FFI bindings to libdlt "
1818homepage.workspace = true
1919license.workspace = true
2020
Original file line number Diff line number Diff line change 1313name = " tracing-dlt"
1414version = " 0.1.0"
1515edition.workspace = true
16- publish = false
16+ publish = true
1717description = " DLT log sink for "
1818homepage.workspace = true
1919license.workspace = true
You can’t perform that action at this time.
0 commit comments