Update .gitlab-ci.yml

This commit is contained in:
Black Hat
2019-08-16 14:12:15 +00:00
parent c4bc971d2a
commit 8e77050d79

View File

@@ -28,9 +28,9 @@ deploy-flatpak:
- pip3 install awscli
- pip3 install awscli-plugin-endpoint
- cp -R ci/.aws ~/
- sed -i -e "s/REGION/$REGION/g" ~/.aws/config
- sed -i -e "s/ENDPOINT_URL/$ENDPOINT_URL/g" ~/.aws/config
- sed -i -e "s/AWS_ACCESS_KEY_ID/$AWS_ACCESS_KEY_ID/g" ~/.aws/credentials
- sed -i -e "s/AWS_SECRET_ACCESS_KEY/$AWS_SECRET_ACCESS_KEY/g" ~/.aws/credentials
- sed -i -e "s~REGION~$REGION~g" ~/.aws/config
- sed -i -e "s~ENDPOINT_URL~$ENDPOINT_URL~g" ~/.aws/config
- sed -i -e "s~AWS_ACCESS_KEY_ID~$AWS_ACCESS_KEY_ID~g" ~/.aws/credentials
- sed -i -e "s~AWS_SECRET_ACCESS_KEY~$AWS_SECRET_ACCESS_KEY~g" ~/.aws/credentials
script:
- aws s3 cp *.flatpak s3://$BUCKET_NAME