Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andeplane/deploy-function-action

Testing github workflows
https://github.com/andeplane/deploy-function-action

Last synced: 1 day ago
JSON representation

Testing github workflows

Awesome Lists containing this project

README

        

# 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

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

Or see `.github/workflows` for a functioning example