File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed
src/Application/src/RazorPagesTestSample/Data Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy to Azure
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ appenv :
7
+ type : choice
8
+ description : Choose the target environment
9
+ options :
10
+ - dev
11
+ - test
12
+ - prod
13
+
14
+ jobs :
15
+ deploy :
16
+ runs-on : ubuntu-latest
17
+ permissions :
18
+ contents : read
19
+ pages : write
20
+ id-token : write
21
+
22
+ steps :
23
+ - name : Checkout repository
24
+ uses : actions/checkout@main
25
+
26
+ - name : Log in to Azure
27
+
28
+ with :
29
+ client-id : ${{ secrets.AZURE_CLIENT_ID }}
30
+ tenant-id : ${{ secrets.AZURE_TENANT_ID }}
31
+ subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
32
+ enable-AzPSSession : true
33
+
34
+ - name : Deploy ARM Template
35
+ uses : azure/arm-deploy@v1
36
+ with :
37
+ subscriptionId : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
38
+ resourceGroupName : ${{ secrets.AZURE_RG }}
39
+ template : ./src/InfrastructureAsCode/main.bicep
40
+ deployment-name : arm-deployment
41
+ parameters : environment=${{ github.event.inputs.appenv }}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public class Message
9
9
10
10
[ Required ]
11
11
[ DataType ( DataType . Text ) ]
12
- [ StringLength ( 250 , ErrorMessage = "There's a 200 character limit on messages. Please shorten your message." ) ]
12
+ [ StringLength ( 250 , ErrorMessage = "There's a 250 character limit on messages. Please shorten your message." ) ]
13
13
public string Text { get ; set ; }
14
14
}
15
15
#endregion
You can’t perform that action at this time.
0 commit comments