<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ksmzn</author_name>
  <author_url>https://blog.hatena.ne.jp/ksmzn/</author_url>
  <blog_title>DPA</blog_title>
  <blog_url>https://ksmzn.hatenablog.com/</blog_url>
  <categories>
    <anon>CircleCI</anon>
  </categories>
  <description>モチベ cacheのkeyに環境変数を使うことによって、circleci.ymlを変更することなく、UI側で操作するだけでキャッシュをクリアできる。 やりかたのメモ yarnの場合の例 cache-dependencies-{{ .Environment.CACHE_VERSION }}-{{ checksum &quot;yarn.lock&quot; }}-{{ checksum &quot;package.json&quot; }}-{{ arch }} {{ .Environment.CACHE_VERSION }} をkey名の先頭に置きたい場合は、クォーテーションで囲む必要がありそう。今回は面倒なので間に挟んだ。 参考 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fksmzn.hatenablog.com%2Fentry%2Fcircleci-key-env&quot; title=&quot;CircleCI でkeyに環境変数を使う - DPA&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-04-14 13:29:50</published>
  <title>CircleCI でkeyに環境変数を使う</title>
  <type>rich</type>
  <url>https://ksmzn.hatenablog.com/entry/circleci-key-env</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
