From b8b0225be69419fe3a97e1592b60f9021f920333 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Wed, 24 Jan 2024 12:39:19 +0800 Subject: [PATCH] ci(gitlab-ci): fix publish command Signed-off-by: Andrei Jiroh Halili --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 113e66b..578a003 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,8 @@ pages: stage: build script: - mkdocs build -d public - - doppler run -- yarn wrangler pages deploy --project ajhalili2006-garden public + - | + doppler run -- yarn wrangler pages deploy --branch "${CI_DEFAULT_BRANCH}" --project-name ajhalili2006-garden public artifacts: paths: # The folder that contains the files to be exposed at the Page URL -- 2.51.2