Host documentation on Swift Package Index
This commit is contained in:
parent
65652f6400
commit
1591c0e585
|
@ -1,31 +0,0 @@
|
|||
name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Generate Documentation
|
||||
uses: SwiftDocOrg/swift-doc@master
|
||||
with:
|
||||
format: html
|
||||
base-url: /opentelemetry-swift-xray/
|
||||
module-name: "OpenTelemetry Swift X-Ray"
|
||||
output: Documentation
|
||||
|
||||
- name: Update Permissions
|
||||
run: 'sudo chown -R $USER Documentation'
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.0
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: Documentation
|
|
@ -0,0 +1,4 @@
|
|||
version: 1
|
||||
builder:
|
||||
configs:
|
||||
- documentation_targets: [OpenTelemetryXRay]
|
|
@ -1,7 +1,7 @@
|
|||
# X-Ray Support for OpenTelemetry Swift
|
||||
|
||||
[](https://github.com/slashmo/opentelemetry-swift-xray/actions/workflows/ci.yaml)
|
||||
[](https://swift.org)
|
||||
[](https://swiftpackageindex.com/slashmo/swift-otel)
|
||||
[](https://github.com/apple/swift-distributed-tracing)
|
||||
|
||||
This library adds support for [AWS X-Ray](https://aws.amazon.com/xray/) to [OpenTelemetry Swift](https://github.com/slashmo/opentelemetry-swift).
|
||||
|
|
Loading…
Reference in New Issue