File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : DataMiner CICD Automation
2
+ on :
3
+ push :
4
+ branches : []
5
+ tags :
6
+ - ' [0-9]+.[0-9]+.[0-9]+.[0-9]+'
7
+ - ' [0-9]+.[0-9]+.[0-9]+-[0-9a-zA-Z]+'
8
+ workflow_dispatch :
9
+ jobs :
10
+ CI :
11
+ name : CI
12
+ uses : SkylineCommunications/_ReusableWorkflows/.github/workflows/Automation Master Workflow.yml@main
13
+ with :
14
+ referenceName : ${{ github.ref_name }}
15
+ runNumber : ${{ github.run_number }}
16
+ referenceType : ${{ github.ref_type }}
17
+ repository : ${{ github.repository }}
18
+ owner : ${{ github.repository_owner }}
19
+ sonarCloudProjectName : abc
20
+ secrets :
21
+ api-key : ${{ secrets.DATAMINER_DEPLOY_KEY }}
22
+ sonarCloudToken : ${{ secrets.SONAR_TOKEN }}
23
+ CD :
24
+ if : github.ref_type == 'tag'
25
+ environment : production
26
+ name : CD
27
+ runs-on : ubuntu-latest
28
+ needs : CI
29
+ steps :
30
+ - uses : actions/checkout@v3
31
+ - name : Skyline DataMiner Deploy Action
32
+ uses : SkylineCommunications/Skyline-DataMiner-Deploy-Action@v1
33
+ with :
34
+ stage : Deploy
35
+ api-key : ${{ secrets.DATAMINER_DEPLOY_KEY }}
36
+ artifact-id : ${{ needs.CI.outputs.artifact-id }}
You can’t perform that action at this time.
0 commit comments