-
Notifications
You must be signed in to change notification settings - Fork 7
46 lines (38 loc) · 1.54 KB
/
branch-stage.yml
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
name: Branch - Stage V1
on:
push:
branches:
- stage
jobs:
build-node:
uses: ./.github/workflows/build-node.yml
with:
node_version: "20"
app_env: "stage"
app_version: "ci_${{ github.sha }}"
azure_storage_account_name: ${{ vars.STAGE_AZURE_STORAGE_ACCOUNT_NAME }}
azure_storage_container_name: ${{ vars.STAGE_AZURE_STORAGE_CONTAINER_NAME }}
secrets:
azure_storage_account_key: ${{ secrets.STAGE_AZURE_STORAGE_ACCOUNT_KEY }}
build-canvas:
needs: [build-node]
uses: ./.github/workflows/build-canvas.yml
with:
node_version: "20"
app_env: "stage"
app_version: "ci_${{ github.sha }}"
canvas_theme_js_file: "https://st09417311stage-fybvhtameff0aney.z01.azurefd.net/themes/ci_${{ github.sha }}/theme-udirdesign.js"
canvas_theme_css_file: "https://st09417311stage-fybvhtameff0aney.z01.azurefd.net/themes/ci_${{ github.sha }}/theme-udirdesign.css"
canvas_username: ${{ vars.STAGE_CANVAS_USERNAME }}
secrets:
canvas_password: ${{ secrets.STAGE_CANVAS_PASSWORD }}
deploy-canvas:
needs: [build-canvas]
uses: ./.github/workflows/deploy-canvas.yml
with:
node_version: "20"
app_env: "stage"
app_version: "ci_${{ github.sha }}"
canvas_username: ${{ vars.STAGE_CANVAS_USERNAME }}
secrets:
canvas_password: ${{ secrets.STAGE_CANVAS_PASSWORD }}