Skip to content

Commit 6fd0735

Browse files
authored
ci: copy OpenAPI specs to correct location (#841)
1 parent 4f7e8ed commit 6fd0735

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/sync-openapi-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ jobs:
3838
3939
- name: Commit and push changes
4040
run: |
41-
git add docs/openapi-community.yaml docs/openapi-enterprise.yaml
41+
mv docs/openapi-community.yaml community.yaml
42+
mv docs/openapi-enterprise.yaml enterprise.yaml
43+
git rm --cached docs/openapi-community.yaml docs/openapi-enterprise.yaml
44+
git add community.yaml enterprise.yaml
4245
if git diff --staged --quiet; then
4346
echo "No changes to commit"
4447
else

0 commit comments

Comments
 (0)