Skip to content

Commit

Permalink
ci: try legacy action
Browse files Browse the repository at this point in the history
does this work?
  • Loading branch information
kanadgupta committed Nov 12, 2024
1 parent 2c4fa47 commit 7b7693a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ name: 'Sync Petstore 🐶'
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
on:
push:
branches:
- main
# branches:
# - main

jobs:
sync:
Expand All @@ -25,3 +25,10 @@ jobs:
# See our docs for more examples on using GitHub Secrets:
# https://docs.readme.com/docs/rdme#example-using-github-secrets
rdme: openapi 3.1/json/petstore.json --key=${{ secrets.PETSTORE_PROJECT_API_KEY }} --id=62069f4ed4ba76002b4dc07c

- uses: readmeio/github-readme-sync@v2
name: Run legacy sync command
with:
oas-file-path: 3.1/json/petstore.json
readme-oas-key: ${{ secrets.PETSTORE_PROJECT_API_KEY }}:62069f4ed4ba76002b4dc07c
# api-version: 1.0

0 comments on commit 7b7693a

Please sign in to comment.