From 11946a218624b7507eee5dbf04223260da764547 Mon Sep 17 00:00:00 2001 From: Andrew <48300131+andrewmjordan@users.noreply.github.com> Date: Sun, 20 Feb 2022 15:51:46 -0800 Subject: [PATCH] update GitLab CI/CD yaml syntax (#1649) This introduces more up-to-date syntax within some yaml snippets --- content/en/hosting-and-deployment/hosting-on-gitlab.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/hosting-and-deployment/hosting-on-gitlab.md b/content/en/hosting-and-deployment/hosting-on-gitlab.md index 6634dbbe7..e15cd4c27 100644 --- a/content/en/hosting-and-deployment/hosting-on-gitlab.md +++ b/content/en/hosting-and-deployment/hosting-on-gitlab.md @@ -49,8 +49,8 @@ pages: artifacts: paths: - public - only: - - master + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH {{< /code >}} {{% note %}}