Github Action 部署腾讯函数计算失败 ,serverless deploy 如何制定云厂商?

本地部署可以成功,可以正常部署到腾讯云。

Github Action 因为 github 服务器在强外,导致 sls deploy 命令请求的国外 serverless 云服务商,serverless deploy 如何制定云厂商?

Github Action 日志如下

Run TENCENT_SECRET_ID=*** TENCENT_SECRET_KEY=*** sls deploy

serverless ⚡components

This is a Serverless Framework Component, a premium development experience. Run "serverless login" to use it for free with these features:

  • Instant Deployments
  • Real-Time Logs In Your CLI
  • State Storage, Secrets Management
  • And More: https://github.com/serverless/components

Note - This is an optional SaaS feature, where our hosted cloud engine can access your credentials and code alike a CI/CD product. Learn more here: https://github.com/serverless/components#security-considerations

Serverless › Please log in by running "serverless login" 

  Documentation: https://github.com/serverless/components 
  Support: https://app.serverless.com/support 
  Slack: https://www.serverless.com/slack/ 
阅读 2.3k
1 个回答

SERVERLESS_PLATFORM_VENDOR=tencent

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进