<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>GitHub</anon>
  </categories>
  <description>処理の一部だけ、 master でのみ処理を行いたい、とかする方法。 GitHub Actions の YAML では、各 job と steps に対して、 if 条件の指定が使えるので、それを使う。 例えばこんな感じ - name: deploy to Netlify if: success() &amp;&amp; github.ref == 'refs/heads/master' run: | yarn global add netlify-cli $(yarn global bin)/netlify deploy --prod --dir=./dist --site=$NETLIFY_SITE_ID…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2020%2F02%2F17%2Fgithub-actions-only-specified-branch&quot; title=&quot;GitHub Actions で特定の branch だけ処理を実行したい - なつねこメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-16 15:00:00</published>
  <title>GitHub Actions で特定の branch だけ処理を実行したい</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2020/02/17/github-actions-only-specified-branch</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
