diff --git a/deploy.sh b/deploy.sh index 3fdbccb..269ab6e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -89,7 +89,7 @@ if [ "$(unzip -l "$ZIP_FILENAME" | grep -q appspec.yml)" = "0" ]; then fi echo "::debug::Zip Archived validated." -echo "::set-output name=zip_filename::$ZIP_FILENAME" +echo "zip_filename=$ZIP_FILENAME" >> "$GITHUB_OUTPUT" # 3) Upload the deployment to S3, drop old archive. function getArchiveETag() { @@ -111,7 +111,7 @@ echo "::debug::Zip uploaded to S3." ZIP_ETAG=$(getArchiveETag) echo "::debug::Obtained ETag of uploaded S3 Zip Archive." -echo "::set-output name=etag::$ZIP_ETAG" +echo "etag=$ZIP_ETAG" >> "$GITHUB_OUTPUT" rm "$ZIP_FILENAME"