Skip to content

Commit

Permalink
turn on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
snowystinger committed Jan 24, 2025
1 parent 79dd97a commit 2e8eadb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ ls -al
echo "Zipping dist/..."
zip -q -r "${ACTION}.zip" "${ACTION}.js" utils.js config.json package.json node_modules
popd
# echo "Deploying ${ACTION_NAME}..."
# if [ -e ~/.wskprops ]
# then
# $WSK action update "${ACTION_NAME}" --kind nodejs:18 "dist/${ACTION}.zip" --web true
# else
# echo "Setting runtime host and auth properties..."
# $WSK property set --apihost adobeioruntime.net --auth "${ADOBE_RUNTIME_AUTH}"
# $WSK action update "${ACTION_NAME}" --kind nodejs:18 "dist/${ACTION}.zip" --web true --apihost adobeioruntime.net --auth "${ADOBE_RUNTIME_AUTH}"
# fi
echo "Deploying ${ACTION_NAME}..."
if [ -e ~/.wskprops ]
then
$WSK action update "${ACTION_NAME}" --kind nodejs:18 "dist/${ACTION}.zip" --web true
else
echo "Setting runtime host and auth properties..."
$WSK property set --apihost adobeioruntime.net --auth "${ADOBE_RUNTIME_AUTH}"
$WSK action update "${ACTION_NAME}" --kind nodejs:18 "dist/${ACTION}.zip" --web true --apihost adobeioruntime.net --auth "${ADOBE_RUNTIME_AUTH}"
fi
echo "🌈✅"

0 comments on commit 2e8eadb

Please sign in to comment.