-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
huyikun.hyk
committed
Jan 17, 2024
1 parent
ffad183
commit 0204001
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
set -e # 报错后不继续执行 | ||
echo 'Serverless-devs installing.' | ||
curl https://images.devsapp.cn/bin/s/v3.0.0 --output /usr/local/bin/s | ||
chmod 777 /usr/local/bin/s | ||
echo '################################################' | ||
s config add --AccountID $1 --AccessKeyID $2 --AccessKeySecret $3 -a $4 -f | ||
echo '################################################' | ||
echo 'Serverless-devs has been installed successfully.' | ||
echo 'The access has been configured automatically, use "s config get" to check.' |
This file contains 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 characters