Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZyzychO opened this issue Aug 28, 2024 · 3 comments
Labels
c1 p2 Type: Bug Something isn't working

Comments

@ZyzychO
Copy link

ZyzychO commented Aug 28, 2024

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 ZyzychO added Type: Bug Something isn't working c1 p2 labels Aug 28, 2024
@tatomyr
Copy link
Contributor

tatomyr commented Aug 29, 2024

@roman-sainchuk please take a look.

@talevy-runai
Copy link

Hi, any update?

@roman-sainchuk
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c1 p2 Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants