Skip to content

Instantly share code, notes, and snippets.

@YumaInaura
Created January 27, 2019 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YumaInaura/0ca887d1e1267bd275f66eba92b87896 to your computer and use it in GitHub Desktop.
Save YumaInaura/0ca887d1e1267bd275f66eba92b87896 to your computer and use it in GitHub Desktop.
This is bad. When creating Github Issue with Zapier, it is a sample of collaboration to post on Hatena Blog.

This is bad. When creating Github Issue with Zapier, it is a sample of collaboration to post on Hatena Blog.

This is bad. When creating Github Issue with Zapier, it is a sample of collaboration to post on Hatena Blog.

Point

  • Hatena blog does not exist in cooperation partner of Zapier, but uses Gmal transmission
  • If you set Market on the notation of Hatena, you just send it straightforwardly and it looks like ok

impression

The best.

Why do you pass Github ISsue?

Because I feel uneasy about domestic service continuity. In fact it is best to put content in Google services and link to various SNS from there, but GoogleDocs and others are quite delicate. I have chosen GithubISsue as a place to store information.

Get a posting email address of Hatena

! [image] (https://user-images.githubusercontent.com/13635059/51799770-fabacc80-2268-11e9-857d-33b611e5d829.png)

 Hatena Help

[Post an article by email - Hatena Blog Help] (http://help.hatenablog.com/entry/mailpost)

Zapier triggers Github issue creation

Designate only my issue creation Specify repository You can specify labels as you like

! [image] (https://user-images.githubusercontent.com/13635059/51799781-11612380-2269-11e9-8fe8-f9fbb5263c05.png)

Specify Gmail sending as an action

Add Hatena's posting e-mail to To's address

! [image] (https://user-images.githubusercontent.com/13635059/51799791-2dfd5b80-2269-11e9-9dc2-77138b0e263c.png)

Subject or body

Original URL

YumaInaura/YumaInaura#484

Original Japanese

これはやばい。ZapierでGithub Issueを作成すると、はてなブログに投稿する連携のサンプル。

これはやばい。ZapierでGithub Issueを作成すると、はてなブログに投稿する連携のサンプル。

ポイント

  • はてなブログはZapierの連携先に存在しないが、Gmal送信を使う
  • はてなの記法をMarkdownにしておけば、そのまま素直に送信するだけでokっぽい

感想は

最高。

なぜ Github ISsue を通すの?

国内のサービス継続性に不安を感じるから。本当はGoogleサービスにコンテンツを置いて、そこから各種SNSに連携するのが最高だが、GoogleDocsとかもなかなか微妙で。GithubISsueを情報財産の置き場として選んでいる。

はてなの投稿用メールアドレスをゲット

image

はてなのヘルプ

メールで記事を投稿する - はてなブログ ヘルプ

Zapier で Github issue 作成をトリガーにする

自分のissue作成だけを指定 レポジトリを指定 お好みで、ラベルも指定できる

image

Gmail 送信をアクションに指定する

To の宛先にはてなの投稿用メルアドを入れる

image

Subject とか body とかを入れる

image

完了

image

実例

(サンプルは一つ前に書いた記事なので、この記事ではない)

image

ZapierでGit hub Issue を自動翻訳して Github Gist に投稿して Twitterに共有する例 (1000文字数制限あり) (有料ププラン) - いなうらゆうま yUmaiNaURA

その他

Twitter連携とかお好きなままに

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment