mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Add testupload CI
This commit is contained in:
parent
b2d3107357
commit
72e84d35bb
@ -9,6 +9,7 @@ variables:
|
|||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- build
|
- build
|
||||||
|
- testupload
|
||||||
|
|
||||||
build:
|
build:
|
||||||
tags:
|
tags:
|
||||||
@ -40,4 +41,16 @@ build:
|
|||||||
- ./*.apk
|
- ./*.apk
|
||||||
- ./*.aab
|
- ./*.aab
|
||||||
- ./*.txt
|
- ./*.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
|
when: manual
|
Loading…
x
Reference in New Issue
Block a user