|
53 | 53 | with:
|
54 | 54 | app-name: acs-ui-dev-web-call-feature-validation
|
55 | 55 | package: ./samples/Calling/dist
|
56 |
| - |
57 |
| - chat: |
58 |
| - name: Build and Deploy Chat App |
59 |
| - runs-on: ubuntu-latest |
60 |
| - permissions: |
61 |
| - # Needed for Azure login |
62 |
| - id-token: write |
63 |
| - environment: staging |
64 |
| - steps: |
65 |
| - - uses: actions/checkout@v3 |
66 |
| - with: |
67 |
| - fetch-depth: 0 |
68 |
| - - name: Use Node.js |
69 |
| - uses: actions/setup-node@v3 |
70 |
| - with: |
71 |
| - node-version: '20.x' |
72 |
| - - name: Install rush |
73 |
| - run: npm install -g @microsoft/rush@$(jq -r '.rushVersion' "rush.json") |
74 |
| - - name: Install dependencies |
75 |
| - run: rush install |
76 |
| - - name: Switch flavor for beta release build |
77 |
| - run: rush switch-flavor:beta-release |
78 |
| - - name: Build Communication-react |
79 |
| - run: rush build -t @azure/communication-react |
80 |
| - - name: Build Server |
81 |
| - run: rush build -o server |
82 |
| - - name: Build Chat |
83 |
| - run: rush build -o chat |
84 |
| - - name: Package Chat App |
85 |
| - run: rushx package |
86 |
| - working-directory: ./samples/Chat |
87 |
| - - name: Log in with Azure |
88 |
| - uses: azure/login@v1 |
89 |
| - with: |
90 |
| - client-id: ${{ secrets.AZURE_CLIENT_ID }} |
91 |
| - tenant-id: ${{ secrets.AZURE_TENANT_ID }} |
92 |
| - subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} |
93 |
| - - name: Deploy Chat |
94 |
| - uses: azure/webapps-deploy@v2 |
95 |
| - with: |
96 |
| - app-name: acs-ui-dev-web-chat-feature-validation |
97 |
| - package: ./samples/Chat/dist |
98 |
| - |
99 |
| - callwithchat: |
100 |
| - name: Build and Deploy CallWithChat App |
101 |
| - runs-on: ubuntu-latest |
102 |
| - permissions: |
103 |
| - # Needed for Azure login |
104 |
| - id-token: write |
105 |
| - environment: staging |
106 |
| - steps: |
107 |
| - - uses: actions/checkout@v3 |
108 |
| - with: |
109 |
| - fetch-depth: 0 |
110 |
| - - name: Use Node.js |
111 |
| - uses: actions/setup-node@v3 |
112 |
| - with: |
113 |
| - node-version: '20.x' |
114 |
| - - name: Install rush |
115 |
| - run: npm install -g @microsoft/rush@$(jq -r '.rushVersion' "rush.json") |
116 |
| - - name: Install dependencies |
117 |
| - run: rush install |
118 |
| - - name: Switch flavor for beta release build |
119 |
| - run: rush switch-flavor:beta-release |
120 |
| - - name: Build Communication-react |
121 |
| - run: rush build -t @azure/communication-react |
122 |
| - - name: Build Server |
123 |
| - run: rush build -o server |
124 |
| - - name: Build CallWithChat |
125 |
| - run: rush build -o callwithchat |
126 |
| - - name: Package CallWithChat Sample Artifact |
127 |
| - run: rushx package |
128 |
| - working-directory: ./samples/CallWithChat |
129 |
| - - name: Log in with Azure |
130 |
| - uses: azure/login@v1 |
131 |
| - with: |
132 |
| - client-id: ${{ secrets.AZURE_CLIENT_ID }} |
133 |
| - tenant-id: ${{ secrets.AZURE_TENANT_ID }} |
134 |
| - subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} |
135 |
| - - name: Deploy CallWithChat |
136 |
| - uses: azure/webapps-deploy@v2 |
137 |
| - with: |
138 |
| - app-name: acs-ui-dev-web-callwithchat-feature-validation |
139 |
| - package: ./samples/CallWithChat/dist |
0 commit comments