Skip to content

Commit

Permalink
test 1
Browse files Browse the repository at this point in the history
  • Loading branch information
admin committed Oct 4, 2024
1 parent ec68638 commit bd10a7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
Binary file added .github/.DS_Store
Binary file not shown.
11 changes: 2 additions & 9 deletions .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,10 @@ jobs:
# Docs: https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#example-using-versioned-actions
uses: readmeio/rdme@v8
with:
rdme: openapi ./oas.json --key=${{ secrets.README_API_KEY }} --id=66ffb7c45f9c380010266a24
sync2:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v4

# Run GitHub Action to sync OpenAPI file at ./path-to-file.json
rdme: openapi ./oas.json --key=${{ secrets.README_API_KEY }} --id=FILE_ID_OF_THE_FIRST_VERSION
- name: synchronization with the second version
# We recommend specifying a fixed version, i.e. @v8
# Docs: https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#example-using-versioned-actions
uses: readmeio/rdme@v8
with:
rdme: openapi ./oas.json --key=${{ secrets.README_API_KEY }} --id=666094feea280e0042275060
rdme: openapi ./oas.json --key=${{ secrets.README_API_KEY }} --id=FILE_ID_OF_THE_SECOND_VERSION
2 changes: 1 addition & 1 deletion oas.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id": "0s1fx0ffj6b7g"
},
"info": {
"title": "test",
"title": "test2",
"version": "1.0",
"description": "Contiant payments and data API",
"contact": {
Expand Down

0 comments on commit bd10a7d

Please sign in to comment.