diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f75a12f972d2bad8ae2eabec4f39e3574b07d218..2378868b71ddbb265af814b97c7f930a783f355f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,4 @@
+---
 image: ruby:2.6
 
 variables:
@@ -10,20 +11,19 @@ before_script:
 test:
   stage: test
   script:
-  - bundle exec jekyll build -d test
+    - bundle exec jekyll build -d test
   artifacts:
     paths:
-    - test
+      - test
   except:
-  - main
+    - main
 
 pages:
   stage: deploy
   script:
-  - bundle exec jekyll build -d public
+    - bundle exec jekyll build -d public
   artifacts:
     paths:
-    - public
+      - public
   only:
-  - main
-
+    - main