diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000000000000000000000000000000000..323271620635b25b62c91fa5df1140c205ea6f34
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,32 @@
+stages:
+  - deploy
+
+pages:
+  stage: deploy
+  image: alpine
+  variables:
+    LATEST_VERSION_URL: https://docs.funkwhale.audio/latest.txt
+  before_script:
+    - apk add curl
+  script:
+    - |
+      echo "Retrieving latest version from $LATEST_VERSION_URL"
+      funkwhale_version=$(curl -sfL $lateLATEST_VERSION_URL || true)
+      if [ -z "$funkwhale_version" ]; then
+          echo "Could not retrieve latest version!"
+          exit 1
+      fi
+      echo "Latest version is $funkwhale_version_placeholder"
+      sed "0,/funkwhale_version_placeholder/{s/funkwhale_version_placeholder/$funkwhale_version/}" install.sh
+    - mkdir -p public
+    - cp install.sh public/
+    - cp install.sh public/index.html
+    - cp upgrade.sh public/upgrade.sh
+
+  artifacts:
+    paths:
+      - public
+  # only:
+  #   - master@funkwhale/ansible
+  tags:
+    - docker