{"repo":"yc-actions/yc-sls-function","free":true,"listed":false,"github":"https://github.com/yc-actions/yc-sls-function","clone":"git clone https://github.com/yc-actions/yc-sls-function.git","description":"GitHub Action to deploy Serverless Function to Yandex Cloud.","language":"TypeScript","stars":47,"topics":["functions","github-actions","serverless","yandex-cloud"],"license":"MIT","category":"workflow-automation","readme_excerpt":"GitHub Action to deploy Serverless Function to Yandex Cloud The action finds or creates Serverless Function in the given folder in Yandex Cloud and deploys new version. Table of Contents - Usage - Permissions - Development - License Summary Usage Lockbox Secrets: Using the Latest Version You can specify Lockbox secrets for your function using the secrets input. The format is: New Feature: - You can now use latest as the to automatically use the most recent version of the secret at deploy time. - Example: In this example, DB PASSWORD will always use the latest version of the secret, while API KEY uses a specific version. Note: If latest is specified and no versions are found for the secret, the deployment will fail with an error. Lockbox Secrets: Referencing a Secret by Name The position also accepts the secret's name, so you can write a workflow that stays readable and survives the secret being recreated: The action first tries the value as a secret ID. Only if that lookup fails does it list the secrets in folder-id and match by name, so ID-based workflows are unaffected and pay no extra API call. Only latest references can use a name. A reference pinned to an explicit version ID is passed straight to the API and must use the secret ID. A name is looked up only in folder-id ; a secret in another folder must be referenced by ID. Note: Resolution happens at deploy time, so the name lookup needs the lockbox.viewer role on folder-id for the credentials the action itself authentic","default_branch":null,"files":null,"tree":[],"storefront":"/r/yc-actions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yc-actions/yc-sls-function/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}