ci: adding list of filenames

This commit is contained in:
Chubby Granny Chaser 2024-11-09 05:53:45 +00:00
parent af1f72bb72
commit 01ef59c00f
No known key found for this signature in database

View File

@ -29,7 +29,7 @@ jobs:
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')"
for file in ./docs/*.exe ./dist/*.png; do
for file in ./dist/*.exe ./docs/*.png; do
if [[ -e "$file" ]]; then
echo "https://artifacts.hydralauncher.gg/$GITHUB_SHA/$(basename $file)"
fi