diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..8d1ef24091c15c17031065720a92c5c4be7f9a35
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+priv
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index db5e0e2a29cac22622270b0d92a86d2df6f7f1a4..f1bb964957deaaed46f32fa5c893a8a0a0dfe417 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,7 @@ test:
     - echo $CI_DEPLOY_PASSWORD
     - echo $GITLAB_USER_LOGIN
     - echo $CI_COMMIT_REF_NAME
+    - echo $MY_TOKEN
     - echo $(date '+%Y%m%d')
 
 
@@ -39,24 +40,28 @@ build:
     paths:
       - README.pdf
 
-deploy_to_release:
+create_release:
   stage: deploy
   except:
     - tags
     - pdf@idevelop/howtogitlabrunner
   script:
     - ls -al *
-    - git clone git@gitlab.epfl.ch:idevelop/howtogitlabrunner.wiki.git wiki
-    - cp README.pdf wiki/public/
-    - echo \n$(date '+%Y-%m-%d %H:%M:%S') >> wiki/home.md
-    - cd wiki
+    # - git clone git@gitlab.epfl.ch:idevelop/howtogitlabrunner.wiki.git wiki
+    # - cp README.pdf wiki/public/
+    # - echo \n$(date '+%Y-%m-%d %H:%M:%S') >> wiki/home.md
+    # - cd wiki
     - git config user.email "gitlab@epfl.ch"
     - git config user.name "gitlab-runner"
-    - git commit -am "New PDF file $(date '+%Y-%m-%d %H:%M:%S')"
-    - git push --push-option=ci.skip origin master
-    # # https://docs.gitlab.com/ee/ci/yaml/README.html#skipping-jobs
-    # - git tag -f -a -m "My sweet release" v0.1
-    # - git push -f --tags
+    # - git commit -am "New PDF file $(date '+%Y-%m-%d %H:%M:%S')"
+    # - git push --push-option=ci.skip origin master
+    # https://docs.gitlab.com/ee/ci/yaml/README.html#skipping-jobs
+    - export RELEASE_V=v$(date '+%s')
+    - git tag -f -a -m "My sweet release $(date '+%Y-%m-%d %H:%M:%S')" ${RELEASE_V}
+    - git push -f --tags
+    - UPLOADED_FILE_URL=$(curl --request POST --header "Private-Token: ${MY_TOKEN}" --form "file=@README.pdf" "https://gitlab.epfl.ch/api/v4/projects/1298/uploads" | jq .url)
+    - curl --request POST --header 'Content-Type: application/json' --header "Private-Token: ${MY_TOKEN}" --data '{"name": "New README release", "tag_name": "${RELEASE_V}", "description": "Release with the PDF [README.pdf](${UPLOADED_FILE_URL})"}' "https://gitlab.epfl.ch/api/v4/projects/1298/releases"
+
 
 deploy_to_production:
   stage: deploy