From 72e84d35bb4c53dfdf633be3b6a85df5afc887a7 Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Tue, 23 Jul 2024 17:15:54 +0300 Subject: [PATCH] Add testupload CI --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d1c116482..76e6d308d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ variables: stages: # List of stages for jobs, and their order of execution - build + - testupload build: tags: @@ -40,4 +41,16 @@ build: - ./*.apk - ./*.aab - ./*.txt + when: manual + +testupload: + tags: + - docker + stage: testupload + script: + - echo example > test.apk + - aws configure set aws_access_key_id $KEYBOARD_R2_ACCESS_KEY_ID + - aws configure set aws_secret_access_key $KEYBOARD_R2_SECRET_ACCESS_KEY + - aws configure set region $KEYBOARD_R2_DEFAULT_REGION + - aws s3 cp ./test.apk s3://$KEYBOARD_R2_BUCKET_NAME/test.apk when: manual \ No newline at end of file