From 23f0a77a69c37dcc2413971379356746a51aec56 Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Sun, 3 Jul 2022 15:44:13 -0400
Subject: [PATCH] fix path to pdf

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ede8b9ad..7a477699 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ pages_main:
   script:
   - sphinx-build -b html . public/latest
   - sphinx-build -M latexpdf . public/latest
-  - mv public/latex/bbdocs.pdf public/latest
+  - mv public/latest/latex/bbdocs.pdf public/latest
   - cp redirect.html public/index.html
   artifacts:
     paths:
@@ -32,7 +32,7 @@ pages_branch:
   script:
   - sphinx-build -b html . public/$CI_COMMIT_REF_NAME
   - sphinx-build -M latexpdf . public/$CI_COMMIT_REF_NAME
-  - mv public/latex/bbdocs.pdf public/$CI_COMMIT_REF_NAME
+  - mv public/$CI_COMMIT_REF_NAME/latex/bbdocs.pdf public/$CI_COMMIT_REF_NAME
   artifacts:
     paths:
     - public
-- 
GitLab