diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 847812d606e91c7f4f384b158d57a27942f607c7..283c21c9dbbd9b458d872ea503dd2ff768e99ba9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,23 +14,22 @@ workflow:
   stage: deploy
   tags:
     - docker
-  rules:
-    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-      when: never
   script:
     - sed -i "s/%%BRANCH%%/$CI_COMMIT_BRANCH/g" src/index.html
     - mv src public
   artifacts:
     paths:
       - public/
-  environment:
-    name: review/$CI_COMMIT_BRANCH
-    url: "https://$CI_PROJECT_NAMESPACE.$CI_PAGES_DOMAIN/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html"
 
 # Deploy a review environment for any push to a branch that is not the default
 # branch
 review:
   extends: .deploy
+  rules:
+    - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
+  environment:
+    name: "review $CI_COMMIT_BRANCH"
+    url: "https://$CI_PROJECT_NAMESPACE.$CI_PAGES_DOMAIN/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html"
 
 # Deploy to GitLab Pages for pushes on the default branch
 pages:
diff --git a/README.md b/README.md
index 0a365862a795121ba9105fc3ceaa47f344f9f5f7..0ca0a701069e78e089905977f1a1d444919c33fc 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
-![Build Status](https://gitlab.com/pages/plain-html/badges/master/build.svg)
+[![pipeline status](https://git.codingallnight.com/chris/pages-test/badges/master/pipeline.svg)](https://git.codingallnight.com/chris/pages-test/-/commits/master)
 
 ---
 
-Example plain HTML site using GitLab Pages.
+Example plain HTML site using GitLab Pages and Environments.
 
 Learn more about GitLab Pages at https://pages.gitlab.io and the official
 documentation https://docs.gitlab.com/ce/user/project/pages/.