<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gatsby on oinume journal</title>
    <link>https://blog-lampetty-net.web.app/tags/gatsby/</link>
    <description>Recent content in Gatsby on oinume journal</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Mon, 31 Aug 2020 09:00:00 +0900</lastBuildDate>
    <atom:link href="https://blog-lampetty-net.web.app/tags/gatsby/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Gatsby &#43; Firebase Hostingでプロフィールサイトを構築する</title>
      <link>https://blog-lampetty-net.web.app/posts/building-profile-site-with-gatsby-and-firebase-hosting/</link>
      <pubDate>Mon, 31 Aug 2020 09:00:00 +0900</pubDate>
      <guid>https://blog-lampetty-net.web.app/posts/building-profile-site-with-gatsby-and-firebase-hosting/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.gatsbyjs.com/&#34;&gt;Gatsby&lt;/a&gt;と&lt;a href=&#34;https://firebase.google.com/products/hosting&#34;&gt;Firebase Hosting&lt;/a&gt;を使って&lt;a href=&#34;https://www.lampetty.net/&#34;&gt;自分のプロフィールサイト&lt;/a&gt;を構築したのでそのメモ。&lt;/p&gt;&#xA;&lt;h2 id=&#34;前提&#34;&gt;前提&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;サイトの中身はGitHubリポジトリで管理&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/santosfrancisco/gatsby-starter-cv&#34;&gt;https://github.com/santosfrancisco/gatsby-starter-cv&lt;/a&gt;がプロフィールサイト向けだったのでこれを使った&lt;/li&gt;&#xA;&lt;li&gt;GitHub Actionsでmasterブランチにpushされたら自動的にFirebase Hostingに反映されるようにした&lt;/li&gt;&#xA;&lt;li&gt;今回は一つのGitHubリポジトリで複数のサイトをホスティングしたかったので、サブディレクトリを作成した。以下のような構成になっている。&#xA;&lt;ul&gt;&#xA;&lt;li&gt;lampetty-net-sites (リポジトリルート)&#xA;&lt;ul&gt;&#xA;&lt;li&gt;www (今回構築するプロフィールサイト)&lt;/li&gt;&#xA;&lt;li&gt;xyz (別のサイト)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;準備&#34;&gt;準備&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;GitHubリポジトリを作っておく&lt;/li&gt;&#xA;&lt;li&gt;NodeJSをインストールしておく&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.gatsbyjs.com/docs/quick-start/&#34;&gt;Quick Start | Gatsby&lt;/a&gt;に沿って以下を実行する。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
