diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2b01b719405931aee3435cdfd2db4e1010892b6d..c7edde37c202062a0a94efd0547d874490ae34dd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -144,7 +144,7 @@ stages:
   - cd ../..
   - catkin_make
   - roscd wolf_demo_laser2d/bag
-  - wget https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_ros/demos/demo_rosbags/-/raw/master/laser2d/advanced.bag
+  - wget https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_ros/demos/demo_rosbags/-/raw/main/laser2d/advanced.bag
   - roslaunch wolf_demo_laser2d demo_laser2d.launch rviz:=false bag:=advanced 2> roslaunch_error_messages.log
   - cat roslaunch_error_messages.log
   - if [[ "$(cat roslaunch_error_messages.log)" == *"process has finished cleanly"* ]]; then