Code Monkey home page Code Monkey logo

Comments (2)

KudouRan avatar KudouRan commented on May 16, 2024 1

环境变量能且只能通过配置 secret 的 TENCENT_SERVERLESS_YML

secret 配置的东西只能被 github action 读取。你的程序最终是运行到腾讯云的,而不是在 github action。

环境变量是必须在 serverless.ymlTENCENT_SERVERLESS_YML)或者腾讯云的控制台配置的。

 environment:
    variables: # 根据自己的需要修改
      Ray_BiliBiliCookies__1: 123 # cookie,必填
      Ray_Security__RandomSleepMaxMin: 20
      Ray_Security__IntervalSecondsBetweenRequestApi: 20

详见文档: https://github.com/RayWangQvQ/BiliBiliToolPro/tree/main/tencentScf#31-%E6%96%B9%E5%BC%8F%E4%B8%80actions%E8%87%AA%E5%8A%A8%E9%83%A8%E7%BD%B2%E6%8E%A8%E8%8D%90

由于文档存在重复,没必要所有的内容都是全新。看的时候请注意当前运行方式的文档的例子,参考的文档可能与当前运行方式不一样。

from bilibilitoolpro.

noshore avatar noshore commented on May 16, 2024

已解决
github action添加secret好像有问题 并不会自动转成环境变量
我手动添加环境变量后可以推送了

from bilibilitoolpro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.