ci: adding list of filenames

This commit is contained in:
Chubby Granny Chaser 2024-11-09 05:57:25 +00:00
parent 01ef59c00f
commit 89f2e19584
No known key found for this signature in database

View File

@ -28,7 +28,7 @@ jobs:
aws configure set aws_access_key_id "$R2_ACCESS_KEY_ID"
aws configure set aws_secret_access_key "$R2_SECRET_ACCESS_KEY"
aws configure set default.region us-east-1
aws s3 cp ./docs s3://${{ vars.BUILDS_BUCKET_NAME }}/$GITHUB_SHA --exclude "*" --include "*-portable.exe" --include ".png" --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')"
aws s3 cp ./docs s3://${{ vars.BUILDS_BUCKET_NAME }}/$GITHUB_SHA --exclude "*" --include "*-portable.exe" --include "*.png" --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')"
for file in ./dist/*.exe ./docs/*.png; do
if [[ -e "$file" ]]; then
echo "https://artifacts.hydralauncher.gg/$GITHUB_SHA/$(basename $file)"