Merge pull request #1 from Nestvold/temp #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Toolkit Dry Run | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-modules: | |
runs-on: ubuntu-latest | |
# refers to the Environment concept in GitHub | |
environment: dev | |
name: Deploy | |
container: | |
image: cognite/toolkit:0.3.2 | |
env: | |
CDF_CLUSTER: ${{ vars.CDF_CLUSTER }} | |
CDF_PROJECT: ${{ vars.CDF_PROJECT }} | |
IDP_CLIENT_ID: ${{ vars.IDP_CLIENT_ID }} | |
IDP_CLIENT_SECRET: ${{ secrets.IDP_CLIENT_SECRET }} | |
IDP_TENANT_ID: ${{ vars.IDP_TENANT_ID }} | |
volumes: | |
- :/app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the modules | |
run: cdf build | |
- name: Deploy the modules | |
run: cdf deploy |