Redocly/create-openapi-repo

Travis skipping files cause cp called with "n" modifier

Javietto opened this issue · 2 comments

Hello,

I've used "yo" to generate the necessary files for travis ci integration and on first synchronization everything went fine but now I'm upgrading my swagger and the documentation is not getting updated although the travis build is running.

Going to the travis log I see this:

Cloning into '.'...
cp -Rn . ../web_deploy/
skipping existing file: index.html
skipping existing file: print.css
skipping existing file: reset.css
(...)

It skips every file that is already present in the branch and thus not updating the swagger.json and swagger.yaml.

Edit: Here's the build execution in case that helps: https://travis-ci.org/BeezUP/api-user_channelcatalogs/builds/226050290

Any help on what I'm doing wrong?

Thanks.

@Javietto skipping existing message is expected since we use cp -Rn . ../web_deploy/ to copy from the current state of gh-pages into newly build folder.

It takes GitHub couple of minutes to update the content of gh-pages + your browser cache content for additional 10 min. Can you please confirm that issue is still present?
If so can you please provide the link to your repo?

Closing for inactivity