Skip to content

Files section in redocly.yaml file is ignored and when executing a 'push' command all files from the folder are being pushed #1689

@ZyzychO

Description

@ZyzychO

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions