cloudflare / pages-action

MIT License
469 stars 95 forks source link

Uploading _headers from Create React App #20

Closed sirganya closed 1 month ago

sirganya commented 2 years ago

If I place a _header file in the public folder of my CRA and build locally the _headers file appears in the build folder.

When I run the same build using GitHub actions and upload to Pages the _headers file is not uploaded.

Does pages-action ignore it?

sirganya commented 2 years ago
Screenshot 2022-07-13 at 07 43 53
Menci commented 2 years ago

Did you test whether the headers actually take effect or not? Even for git-based automatically build & deploy, Pages sites' _headers are not really appearing in the site.