Last active
June 18, 2022 16:22
-
-
Save Rafat97/80373ebb37cce712690f69e4e6b593b4 to your computer and use it in GitHub Desktop.
Revisions
-
Rafat97 revised this gist
Jun 18, 2022 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,6 @@ const getBucketName = process.env.AWS_BUCKET_NAME; const getBucketKey = process.env.AWS_BUCKET_KEY; const getNewFileName = process.env.NEW_VIDEO_FILE_NAME; await $`echo "Downloading file..."`; await $`aws s3 cp s3://${getBucketName}/${getBucketKey} ./${getNewFileName}`; await $`echo "Downloading end..."`; -
Rafat97 revised this gist
Jun 18, 2022 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,7 @@ const getBucketName = process.env.AWS_BUCKET_NAME; const getBucketKey = process.env.AWS_BUCKET_KEY; const getNewFileName = process.env.NEW_VIDEO_FILE_NAME; await $`Downloading file...`; await $`aws s3 cp s3://${getBucketName}/${getBucketKey} ./${getNewFileName}`; await "Downloading end..."; -
Rafat97 created this gist
Jun 18, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ console.log(process.env)