Add resume pdf & html
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
MFA_TOKEN=$1
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
# Capture everything from second argument onward as a command
|
||||
shift
|
||||
COMMAND=("$@")
|
||||
>>>>>>> 1437cee (Add resume pdf & html)
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Error: Run with MFA token!"
|
||||
@ -25,5 +31,13 @@ export AWS_SECRET_ACCESS_KEY=$(echo "$SESSION_OUTPUT" | jq '.Credentials.SecretA
|
||||
#echo $AWS_SESSION_TOKEN
|
||||
#echo $AWS_ACCESS_KEY_ID
|
||||
#echo $AWS_SECRET_ACCESS_KEY
|
||||
<<<<<<< HEAD
|
||||
aws s3 ls s3://witch-lab-3
|
||||
echo "finished!"
|
||||
echo "finished!"
|
||||
=======
|
||||
# aws s3 ls s3://witch-lab-3
|
||||
|
||||
if command -v "$COMMAND" >/dev/null 2>&1; then
|
||||
"${COMMAND[@]}"
|
||||
fi
|
||||
>>>>>>> 1437cee (Add resume pdf & html)
|
||||
|
||||
Reference in New Issue
Block a user