Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/andeplane/deploy-function-action
- Owner: andeplane
- Created: 2020-04-11T13:38:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T19:50:14.000Z (about 2 years ago)
- Last Synced: 2024-05-01T21:39:12.455Z (8 months ago)
- Language: JavaScript
- Size: 76.2 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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