diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a8430fa25068bab71279c0da5b4528318c2c6046..3e1daa340792e2a7081c0995b1f137c20ec16d5f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,10 +8,6 @@ cache:
 before_script:
   - bundle install
   - chmod +x ./gradlew
-  - echo $SIGNING_KEY_BASE64 | base64 -d > circuli_key.jks
-  - echo "KEY_PATH=circuli_key.jks" > signing.properties
-  - echo "KEY_PASSWORD=$KEY_PASSWORD" >> signing.properties
-  - echo "ALIAS_NAME=$ALIAS_NAME" >> signing.properties
 
 stages:
   - release
@@ -23,6 +19,10 @@ createGitlabRelease:
     - if: $CI_COMMIT_TAG
   script:
     - echo "Running the release job"
+    - echo $SIGNING_KEY_BASE64 | base64 -d > circuli_key.jks
+    - echo "KEY_PATH=circuli_key.jks" > signing.properties
+    - echo "KEY_PASSWORD=$KEY_PASSWORD" >> signing.properties
+    - echo "ALIAS_NAME=$ALIAS_NAME" >> signing.properties
     - bundle exec fastlane buildFdroid
   artifacts:
     name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
@@ -43,6 +43,10 @@ uploadPlayStoreBeta:
   stage: deploy
   script:
     - echo "Running the uploadPlayStoreBeta job"
+    - echo $SIGNING_KEY_BASE64 | base64 -d > circuli_key.jks
+    - echo "KEY_PATH=circuli_key.jks" > signing.properties
+    - echo "KEY_PASSWORD=$KEY_PASSWORD" >> signing.properties
+    - echo "ALIAS_NAME=$ALIAS_NAME" >> signing.properties
     - echo "$SERVICE_JSON" > google_play_api_key.json
     - bundle exec fastlane deployGoogle
   only: