]> git.ipfire.org Git - thirdparty/ut1-blacklists.git/commitdiff
Update lists from GitLab CI add-gitlab-ci-support 17/head
authorLuc Sarzyniec <devel@olbat.net>
Sat, 8 Jan 2022 13:17:38 +0000 (14:17 +0100)
committerLuc Sarzyniec <devel@olbat.net>
Sat, 8 Jan 2022 13:24:02 +0000 (14:24 +0100)
.gitlab-ci.yml [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..722e38a
--- /dev/null
@@ -0,0 +1,15 @@
+---
+update-lists:
+  stage: deploy
+  image: ruby:3
+  before_script:
+    - git config user.name "GitLab CI Runner"
+    - git config user.email "gitlab@example.com"
+    - git checkout -b $MAIN_BRANCH || true
+  script:
+    - scripts/update-lists
+    - bundle exec scripts/generate-readme < README.md.erb > README.md
+    - scripts/sync-git
+  only:
+    - web
+    - schedules