diff --git a/README.md b/README.md index ee578a8..b983023 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ expressions: - price error ``` -## Github Action +## Github Actions > Commiting the pickled data (previous_matches) back into the repository is a bit of a hack, but allows for a simpler setup. @@ -87,6 +87,29 @@ jobs: branch: ${{ github.ref }} ``` +## Gitlab Pipelines + +> Create a [scheduled pipeline](https://docs.gitlab.com/ee/ci/pipelines/schedules.html) to run on a regular interval. + +With Gitlab Pipelines, the following configuration works: + +```yaml +#.gitlab-ci.yml +default: + image: + name: ghcr.io/davegallant/rfd-notify:1 + entrypoint: [""] + +run: + cache: + - key: previous_matches + paths: + - previous_matches + script: + - python /app/rfd_notify/cli.py -c config.yml + +``` + ## Jenkins > The necessary Jenkins plugins (such as docker) and credentials must be configured.