From d70761fdab8db6d4bc3b2b9d6dca879e6f8ee4d1 Mon Sep 17 00:00:00 2001 From: skedwards88 Date: Mon, 27 Jun 2022 11:41:10 -0700 Subject: [PATCH] update remaining reusables --- data/reusables/pages/admin-must-push.md | 2 +- data/reusables/pages/test-locally.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/reusables/pages/admin-must-push.md b/data/reusables/pages/admin-must-push.md index 51bffec7fa..79f244c85a 100644 --- a/data/reusables/pages/admin-must-push.md +++ b/data/reusables/pages/admin-must-push.md @@ -1,5 +1,5 @@ {% tip %} -**Note**: If your site has not published automatically, make sure someone with admin permissions and a verified email address has pushed to the publishing source. +**Note**: {% ifversion pages-custom-workflow %}If you are publishing from a branch and{% else %}If{% endif %} your site has not published automatically, make sure someone with admin permissions and a verified email address has pushed to the publishing source. {% endtip %} diff --git a/data/reusables/pages/test-locally.md b/data/reusables/pages/test-locally.md index f9ea9564dd..ba1bbb87c5 100644 --- a/data/reusables/pages/test-locally.md +++ b/data/reusables/pages/test-locally.md @@ -1 +1 @@ -Changes to your site are published automatically when the changes are merged into your site's publishing source. If you want to preview your changes first, you can make the changes locally instead of on {% data variables.product.product_name %}. Then, test your site locally. For more information, see "[Testing your {% data variables.product.prodname_pages %} site locally with Jekyll](/articles/testing-your-github-pages-site-locally-with-jekyll)." +{% ifversion pages-custom-workflow %}If you are publishing from a branch, changes{% else %}Changes{% endif %} to your site are published automatically when the changes are merged into your site's publishing source. {% ifversion pages-custom-workflow %}If you are publishing from a custom {% data variables.product.prodname_actions %} workflow, changes are published whenever your workflow is triggered (typically by a push to the default branch).{% endif %}If you want to preview your changes first, you can make the changes locally instead of on {% data variables.product.product_name %}. Then, test your site locally. For more information, see "[Testing your {% data variables.product.prodname_pages %} site locally with Jekyll](/articles/testing-your-github-pages-site-locally-with-jekyll)."