Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use with github pages #360

Closed
aubergene opened this issue Sep 17, 2018 · 6 comments
Closed

Document how to use with github pages #360

aubergene opened this issue Sep 17, 2018 · 6 comments

Comments

@aubergene
Copy link

Github pages (and similar) are very popular so it would be good to create a blog post (and perhaps template) for creating a project that can be pushed to github page and add a link to the docs.

There's examples for Nuxt which are good examples

https://nuxtjs.org/faq/github-pages/

https://hackernoon.com/create-and-publish-a-nuxt-powered-website-on-github-pages-3e922dfa7372

@Conduitry
Copy link
Member

Is this more of a Sapper thing? Is there anything special that needs to happen to support github pages beyond using sapper export to generate a static site?

@pixeline
Copy link

pixeline commented Jan 5, 2020

I was actually looking forward to deploying my first SPA with Svelte as a GitHub Pages. I'll see if I can nail an easy method, then publish it as a tutorial on dev.to.

(i discovered Svelte yesterday and it totally grew into my new girlfriend, thanks to the Team for making this jewel ! )

@pixeline
Copy link

pixeline commented Jan 5, 2020

@aubergene Well, here it is! https://dev.to/pixeline/how-to-deploy-a-sapper-pwa-on-github-pages-47lc

@Conduitry feel free to close this issue if this is enough.

@Chinyoka1
Copy link

Can you also do it without using sapper?

@aubergene
Copy link
Author

Great thank you. I didn't know about gh-pages very handy.

@SvenjaJeschke for deploying a plain Svelte app, it's even easier, just replace '__sapper__/export/yourproject' with public.

@josecelano
Copy link

I've also created a basic example:

https://github.com/josecelano/svelte-deploy-with-github-actions

It uses GitHub Actions to deploy automatically to GitHub Pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants