add CI/CD
All checks were successful
/ test (push) Successful in 2m38s

This commit is contained in:
Ivy Collective 2024-12-23 16:12:15 -05:00
parent 3f4fcc3585
commit 5ef22b3dad
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,19 @@
on: [push]
jobs:
test:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Build Blazor Applicaton
run: dotnet publish -c Release -o ./output
- name: Deploy to Cloudflare Pages
uses: actions/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT }}
command: pages deploy output/wwwroot --project-name=blazing-console

1
.gitignore vendored
View file

@ -34,6 +34,7 @@ bld/
[Oo]bj/
[Ll]og/
[Ll]ogs/
output/
# Visual Studio 2015/2017 cache/options directory
.vs/