hiroppy / fusuma

✍️ Fusuma makes slides with Markdown easily.
https://hiroppy.github.io/fusuma
5.41k stars 194 forks source link

How to deploy to gh-pages? #128

Open galeone opened 5 years ago

galeone commented 5 years ago

I have created a presentation using fusuma and created a repository with the presentation inside.

See: https://github.com/galeone/tf-function-talk

I have also created the branch gh-pages locally and remotely + updated the settings to use gh-pages to host the website.

I followed the fusuma readme and I executed

NODE_ENV=production npx fusuma build
npx fusuma deploy

but nothing happens. All I see is the "Publishing to gh-pages" string that never goes away.

I guess this is not the correct way of deploying to gh-pages then. So, what should I do?

Thanks!

galeone commented 5 years ago

Update: I have a passphrase to unlock my ssh key.

I'm investigating and I'm pretty sure this is the problem.

Update: can confirm. If I remove the passphrase it gets deployed, so fusuma right now lacks the support for ssh with passphrases (I guess the progress bar snake-like overwrites the passphrase input form)

hiroppy commented 5 years ago

fm... I don't care about it. Could you submit a PR? I'm using just gh-pages. https://github.com/tschaub/gh-pages/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+passphrase

code: https://github.com/hiroppy/fusuma/blob/master/packages/task-ghp/src/index.js