redocly-cli
redocly-cli copied to clipboard
Files section in redocly.yaml file is ignored and when executing a 'push' command all files from the folder are being pushed
Describe the bug
When attempting to push an API to the Redocly API Registry using CI/CD, all files in the folder are being pushed instead of files selected in redocly.yaml
To Reproduce Steps to reproduce the behavior:
- Create an API Registry using CI/CD.
- Create a folder with yaml file, index.html file and other files.
apis:
testclipush@v1:
root: test.yaml
files:
- index.html
extends:
- minimal
theme:
openapi:
htmlTemplate: ./index.html
hideTryItPanel: false
theme:
colors:
primary:
main: '#0065FB'
- In files select to only upload index.html
- Execute push command
- Observe that all files from the folder will be pushed
Expected behavior
Only selected files should be pushed
Sample file: 333.zip
@roman-sainchuk please take a look.
Hi, any update?
Hello @talevy-runai! We had no chance to work on it yet due to other priorities, but we’re planning to address it soon. I’ll keep you updated as we make progress.