LunatiqueCoder / luna

Luna - a React Native + Next.js template. Built with TypeScript :heart:
https://luna-gamma.vercel.app/
MIT License
264 stars 17 forks source link

CI should publish web app to github pages #37

Closed mikehardy closed 2 years ago

mikehardy commented 2 years ago

I keep remembering and forgetting this, and it is something I want to do for the react-native-firebase-authentication-example as well - but I should make (or anyone could :-), but I'll do it eventually) a .github/workflow that publishes the template to github pages so people may use it live

mikehardy commented 2 years ago

Looks pretty easy actually, will require some involvement from repo owner after first attempt (which should fail) then second attempt will go

Overview (note, just a little stale, the action used to publish uses github token now https://github.com/peaceiris/actions-gh-pages/blob/v3.7.3/CHANGELOG.md#360-2020-05-04) https://cmichel.medium.com/how-to-deploy-a-create-react-app-with-github-actions-5e01f7a7b6b

Repo config need https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-first-deployment-with-github_token

mikehardy commented 2 years ago

initial research done, no time to implement at the moment, but now there's a roadmap for my future self (or anyone) to just crank it out :) (the sound you hear is all my web tabs closing as I leave this task haha)

LunatiqueCoder commented 2 years ago

🚀 This actually is a great idea! Niiiice