20
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gh-pagesコマンドで瞬殺deploy

Posted at

先日、久々にgithub pagesにコンテンツをuploadしようとして知ったマメ知識.

npm install -g gh-pages

成果物が入ったディレクトリ(例: dist)を引数にして叩くだけ。瞬殺!

distは成果物が入ったディレクトリ
gh-pages -d dist

初回のbranch用意や、checkoutしてcommitして、の手間が不要になる。

20
17
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
20
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?