diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..48761871 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,23 @@ +name: Run Azure Login with OpenID Connect +on: [workflow_dispatch] + +permissions: + id-token: write + contents: read + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: 'Az CLI login' + uses: azure/login@v1 + with: + client-id: ${{ secrets.AZURE_CLIENT_ID }} + tenant-id: ${{ secrets.AZURE_TENANT_ID }} + subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} + + - name: 'Run Azure CLI commands' + run: | + az account show + az group list + pwd \ No newline at end of file diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml new file mode 100644 index 00000000..7239e4b3 --- /dev/null +++ b/.github/workflows/first-workflow.yml @@ -0,0 +1,25 @@ +name: first-workflow +on: + push: + branches: + - main +jobs: + Explore-Github-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "Step 1 complete" + - run: echo "Step 2 complete" + Run-Cowsays: + runs-on: ubuntu-latest + needs: Explore-Github-Actions + steps: + - name: Ship it + uses: mscoutermarsh/cowsays-action@master + with: + text: "Ready for prod-ship-it" + color: magenta + + + + + \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..19a7c38b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,12 @@ +name: first-workflow +on: + push: + branches: + - master +jobs: + Explore-Github-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "Step 1 complete" + - run: echo "Step 2 complete" + diff --git a/Application/src/RazorPagesTestSample/Data/Message.cs b/Application/src/RazorPagesTestSample/Data/Message.cs index ea99cbd6..59f24395 100644 --- a/Application/src/RazorPagesTestSample/Data/Message.cs +++ b/Application/src/RazorPagesTestSample/Data/Message.cs @@ -9,7 +9,7 @@ public class Message [Required] [DataType(DataType.Text)] - [StringLength(200, ErrorMessage = "There's a 200 character limit on messages. Please shorten your message.")] + [StringLength(250, ErrorMessage = "There's a 250 character limit on messages. Please shorten your message.")] public string Text { get; set; } } #endregion diff --git a/LANALLAI.md b/LANALLAI.md new file mode 100644 index 00000000..e69de29b