andeplane / deploy-function-action

Testing github workflows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy Cognite Function action

This action deploys a Python function to Cognite Functions.

Inputs

function_path

Path to a directory containing your function. By using strategy.matrix in your workflow, multiple functions can be used.

cdf_project

Required The name of the project in CDF.

cdf_credentials

Required API key that should deploy the function.

cdf_base_url

Base url of your CDF project. Defaults to https://api.cognitedata.com.

Outputs

functionId

The ID of the function you created.

Example usage

uses: andeplane/deploy-function-action
with:
  cdf_project: cognite
  cdf_credentials: ${{ secrete.COGNITE_CREDENTIALS }}

Or see .github/workflows for a functioning example

About

Testing github workflows


Languages

Language:JavaScript 69.5%Language:Python 29.7%Language:Dockerfile 0.8%