-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.28 KB
/
main.yml
File metadata and controls
47 lines (39 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CICD
run-name: Triggered by @${{ github.actor }}
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
release:
types: [created]
jobs:
build:
uses: artagame/githubactions/.github/workflows/build.yml@main
with:
solution_name: TestSolution
branch_name: feature/${{ github.actor }}-${{ github.run_id }}
solution_exported_folder: out/exported/
solution_folder: out/solutions/
solution_target_folder: solutions/
secrets:
ENVIRONMENT_URL: ${{ secrets.ENVIRONMENT_URL }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
TENANT_ID: ${{ secrets.TENANT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
release:
needs: [ build ]
uses: artagame/githubactions/.github/workflows/release.yml@main
with:
solution_name: TestSolution
branch_name: feature/${{ github.actor }}-${{ github.run_id }}
solution_shipping_folder: out/ship/
solution_outbound_folder: out/solutions/
solution_source_folder: solutions/
solution_release_folder: out/release
secrets:
ENVIRONMENT_URL: ${{ secrets.ENVIRONMENT_URL }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
TENANT_ID: ${{ secrets.TENANT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}