Skip to content

Commit e0a6a88

Browse files
committed
wip: automatically upload definition to readme
1 parent bb86cb4 commit e0a6a88

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,18 @@ jobs:
6363
run: deno task openapi:validate
6464

6565
- name: The Sacred Transcription aka Generate OpenAPI
66-
if: github.ref == 'refs/heads/master'
6766
run: deno task openapi:generate
6867

6968
- name: Preserving the Sacred Texts aka Upload Definition
70-
if: github.ref == 'refs/heads/master'
7169
uses: actions/upload-artifact@v4
7270
with:
7371
name: openapi
7472
path: projects/openapi/openapi.json
7573
if-no-files-found: error
7674
retention-days: 30
75+
76+
# TODO only on master
77+
- name: The Sacred Transcription aka Upload to Readme
78+
uses: readmeio/rdme@v10
79+
with:
80+
rdme: openapi upload ./projects/openapi/openapi.json --key=${{ secrets.README_API_KEY }} --slug=openapi.json

0 commit comments

Comments
 (0)