From b0b8e83651dd3fffb7f2ee38eb83c23a279cc82d Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Sun, 19 Jun 2022 12:49:20 +0200
Subject: [PATCH] make download links to ci

---
 .gitlab-ci.yml | 2 ++
 README.md      | 8 +++++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 344ae284..93fe1792 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,7 @@ compile_pdf:
     - apt-get install -y inkscape make
     - make
     - make resources
+    - make ref
     - mv main.pdf bind.pdf
   only:
     - master
@@ -13,3 +14,4 @@ compile_pdf:
     paths:
       - bind.pdf
       - resources.pdf
+      - bind_ref.pdf
diff --git a/README.md b/README.md
index ab1139a4..72b12a14 100644
--- a/README.md
+++ b/README.md
@@ -211,10 +211,12 @@ If you want to get involved, there are a number of ways to contribute:
 
 - Or if you don't like how I'm handling the book, fork it and make your own.
 
-[core download]: https://ttrpgs.org/share/bind.pdf
-[reference]: https://ttrpgs.org/share/bind_ref.pdf
+
+[core download]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/bind.pdf?job=compile_pdf
+[reference]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/bind_ref.pdf?job=compile_pdf
 [wiki]: https://gitlab.com/bindrpg/core/-/wikis/home
 [aif]: https://gitlab.com/bindrpg/aif
-[cs]: https://ttrpgs.org/share/bind_cs.ods
+[cs]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/resources.pdf?job=compile_pdf
+
 [board]: https://gitlab.com/bindrpg/core/issues
 [issuesEmail]: mailto:incoming+bindrpg-core-16324687-issue-@incoming.gitlab.com
-- 
GitLab