redocly-cli icon indicating copy to clipboard operation
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

Open ZyzychO opened this issue 1 year ago • 3 comments

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:

  1. Create an API Registry using CI/CD.
  2. 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'
  1. In files select to only upload index.html
  2. Execute push command
  3. Observe that all files from the folder will be pushed

Expected behavior

Only selected files should be pushed

Sample file: 333.zip

Front logo Front conversations

ZyzychO avatar Aug 28 '24 09:08 ZyzychO

@roman-sainchuk please take a look.

tatomyr avatar Aug 29 '24 09:08 tatomyr

Hi, any update?

talevy-runai avatar Sep 18 '24 13:09 talevy-runai

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.

roman-sainchuk avatar Sep 19 '24 12:09 roman-sainchuk