gh-pages icon indicating copy to clipboard operation
gh-pages copied to clipboard

How to add .well-known directory?

Open mikelgmh opened this issue 3 years ago • 1 comments

I've uploaded a .well-known folder to my master branch, but when deploying the project using gh-pages the folder doesn't show up. This is my config.

ghpages.publish('dist', {
  dest: 'myProject-pwa',
  history: false,
  dotfiles: true,
}, function(err) {});

As you can see, the dotfiles option is set to true. Is there any way to add manually that folder so it doesn't get ignored?

mikelgmh avatar Apr 02 '21 16:04 mikelgmh

@mikelgmh you can make this work by adding a _config.yml file to the public folder with the following content

include: [".well-known"]

RossJayJones avatar Apr 10 '22 09:04 RossJayJones