This action deploys a Python function to Cognite Functions.
Path to a directory containing your function. By using strategy.matrix
in your workflow, multiple functions can be used.
Required The name of the project in CDF.
Required API key that should deploy the function.
Base url of your CDF project. Defaults to https://api.cognitedata.com.
The ID of the function you created.
uses: andeplane/deploy-function-action
with:
cdf_project: cognite
cdf_credentials: ${{ secrete.COGNITE_CREDENTIALS }}
Or see .github/workflows
for a functioning example