diff --git a/.github/workflows/dataminer-cicd-automation.yml b/.github/workflows/dataminer-cicd-automation.yml index b29bca7..736f974 100644 --- a/.github/workflows/dataminer-cicd-automation.yml +++ b/.github/workflows/dataminer-cicd-automation.yml @@ -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 }}