Skip to content

Commit

Permalink
Update dataminer-cicd-automation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EdibSU authored May 21, 2024
1 parent 5f93ad0 commit 1e9538f
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/dataminer-cicd-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ jobs:
api-key: ${{ secrets.DATAMINER_DEPLOY_KEY }}
sonarCloudToken: ${{ secrets.SONAR_TOKEN }}

# # Optional 0 or More CD Jobs as needed
# CD:
# if: github.ref_type == 'tag'
# environment: production
# name: CD
# runs-on: ubuntu-latest
# needs: CI
# Optional 0 or More CD Jobs as needed
CD:
if: github.ref_type == 'tag'
environment: production
name: CD
runs-on: ubuntu-latest
needs: CI

# steps:
# - uses: actions/checkout@v4
# - name: Install .NET Tools
# run: dotnet tool install -g Skyline.DataMiner.CICD.Tools.DataMinerDeploy
steps:
- uses: actions/checkout@v4

- name: Install .NET Tools
run: dotnet tool install -g Skyline.DataMiner.CICD.Tools.DataMinerDeploy

# - name: Deploy to DataMiner
# run: dataminer-package-deploy from-catalog --artifact-id "${{ needs.CI.outputs.artifact-id }}" --dm-catalog-token ${{ secrets.DATAMINER_DEPLOY_KEY }}
- name: Deploy to DataMiner
run: dataminer-package-deploy from-catalog --artifact-id "${{ needs.CI.outputs.artifact-id }}" --dm-catalog-token ${{ secrets.DATAMINER_DEPLOY_KEY }}

0 comments on commit 1e9538f

Please sign in to comment.