始まり
CI/CDってやつ触ってみたいなーってなってた.下の記事をみつけたので真似してhello world
した.
.circleci/config.yml
をコミットした後エラーが出た
エラーを見てみると,
Configuration errors: 2 errors occurred:
* Configuration version 2.1 requires the "Enable Pipelines" project setting. Enable pipelines under Project Settings -> Advanced Settings. In order to retrigger pipelines, you must push a new commit.
* Cannot find a job named `build` to run in the `jobs:` section of your configuration file.
If you expected a workflow to run, check your config contains a top-level key called 'workflows:'
一つ目で言われてる設定を見ても,enable になってるし,二つ目のエラーも top-level に workflows を置かなくてもいいはず….
結論は,このエラーは別に問題ではないようだ.ここで CI の設定をしているので,次のコミットから反映される,つまり次に新しいコミットをするとHello world
できる.
詳細を見てみると,
できた!!
次
Markdwon を勝手にpdf に変換するようにしていきたい.
参考
GitHub+CircleCI入門
:参考にしたやつ
MarkdownをCircleCI上でPDFに変換してGoogleドライブにデプロイする
:これやりたい。2018/05 の記事
いまさらだけどCircleCIに入門したので分かりやすくまとめてみた
:網羅的。ちょっと事前知識がないと難しい…