ci: rename api-client repo (#1805)
This commit is contained in:
parent
e820931b43
commit
164cddca9f
|
@ -18,17 +18,17 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v3
|
- uses: actions/setup-python@v3
|
||||||
|
|
||||||
- name: Clone api-client repo
|
- name: Clone client repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: "${{ github.repository_owner }}/api-client"
|
repository: "${{ github.repository_owner }}/client"
|
||||||
path: api-client-repo
|
path: client-repo
|
||||||
ssh-key: "${{ secrets.API_CLIENT_DEPLOY_KEY }}"
|
ssh-key: "${{ secrets.API_CLIENT_DEPLOY_KEY }}"
|
||||||
|
|
||||||
- name: Generate schema
|
- name: Generate schema
|
||||||
run: |
|
run: |
|
||||||
make schema
|
make schema
|
||||||
cp schema.yml ../api-client-repo/schema.yml
|
cp schema.yml ../client-repo/schema.yml
|
||||||
working-directory: api
|
working-directory: api
|
||||||
|
|
||||||
- name: Push schema changes to API clients
|
- name: Push schema changes to API clients
|
||||||
|
@ -37,4 +37,4 @@ jobs:
|
||||||
commit_message: "chore: update schema for ${{ github.repository }}@${{ github.sha }}"
|
commit_message: "chore: update schema for ${{ github.repository }}@${{ github.sha }}"
|
||||||
commit_user_name: "github-actions[bot]"
|
commit_user_name: "github-actions[bot]"
|
||||||
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
||||||
repository: ./api-client-repo
|
repository: ./client-repo
|
||||||
|
|
Loading…
Reference in New Issue