We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43180ce commit 03360e7Copy full SHA for 03360e7
2 files changed
.github/workflows/openapi-publish.yml
@@ -0,0 +1,20 @@
1
+name: Publish OpenAPI to Scalar Registry
2
+
3
+permissions:
4
+ contents: read
5
6
+on:
7
+ push:
8
+ branches: [ master ]
9
+ paths:
10
+ - "openapi.yml"
11
+ workflow_dispatch:
12
13
+jobs:
14
+ publish:
15
+ uses: SiaFoundation/workflows/.github/workflows/publish-openapi.yml@master
16
+ with:
17
+ slug: renterd
18
+ spec_path: openapi.yml
19
+ secrets:
20
+ SCALAR_API_KEY: ${{ secrets.SCALAR_API_KEY }}
.github/workflows/openapi-sync.yml
@@ -0,0 +1,16 @@
+name: Sync OpenAPI Versions
+ pull-requests: write
+ release:
+ types: [published, edited]
+ sync:
+ uses: foundation/workflows/.github/workflows/sync-openapi-version.yml@master
0 commit comments