enriikke / gatsby-gh-pages-action

GitHub Action to build and deploy your Gatsby site to GitHub Pages ❤️🎩
MIT License
295 stars 62 forks source link

Copying README.md to deploy branch #22

Closed BTx123 closed 3 years ago

BTx123 commented 4 years ago

I was wondering if there is a way to get the README.md copied to the deployed branch, similar to how CNAME is copied. Not sure if this should be part of the action or a step taken before executing the action.

py563 commented 4 years ago

hi @BTx123 any reason to copy Readme file to deployed branch. I guess copying readme shouldn't be part of any action.

But you can try to manually force it to be done i guess by having a copy in static folder. I haven't explored much in Gatsby but the above do the job in Hugo, per my knowledge I feel both Gatsby and Hugo follow similar process for files in static folder when building.

BTx123 commented 4 years ago

ok thanks! I'll try that out.