忘れがちな脳のためのメモ
これでtest/ディレクトリおよびtest.txtが変更されたときだけジョブが走るようにする。
stages:
- build
ex-build:
stage: build
script:
- echo "てすと"
- ls test/
- cat test.txt
rules:
- changes:
- test.txt
- test/*
参考: .gitlab-ci.yml keyword reference | GitLab の rules:changes の項