Skip to content

Commit

Permalink
Removal local bicep, run website deploy on project changes, re-add di…
Browse files Browse the repository at this point in the history
…scord invite redirect
  • Loading branch information
leydel committed Dec 27, 2024
1 parent 69b2e45 commit 48cdf03
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 123 deletions.
41 changes: 0 additions & 41 deletions .bicep/local.bicep

This file was deleted.

13 changes: 0 additions & 13 deletions .bicep/resources/azServiceBusNamespace.bicep

This file was deleted.

25 changes: 0 additions & 25 deletions .bicep/resources/azServiceBusQueue.bicep

This file was deleted.

1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/local.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy website to SWA

on:
workflow_dispatch:

# TODO: Configure deployment to automatically run on changes to `Website` project
push:
paths: ["src/Modkit/Website/**"]
branches: ["main"]

jobs:
deploy:
Expand Down
5 changes: 5 additions & 0 deletions src/Modkit/Website/staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"routes": [
{
"route": "/discord",
"redirect": "https://discord.gg/SFX3fJZ4NA",
"statusCode": 302
},
{
"route": "/*",
"redirect": "https://github.com/leydel/Modkit",
Expand Down

0 comments on commit 48cdf03

Please sign in to comment.