parent
3f4fcc3585
commit
5ef22b3dad
2 changed files with 20 additions and 0 deletions
19
.forgejo/workflows/deploy.yaml
Normal file
19
.forgejo/workflows/deploy.yaml
Normal 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
1
.gitignore
vendored
|
@ -34,6 +34,7 @@ bld/
|
||||||
[Oo]bj/
|
[Oo]bj/
|
||||||
[Ll]og/
|
[Ll]og/
|
||||||
[Ll]ogs/
|
[Ll]ogs/
|
||||||
|
output/
|
||||||
|
|
||||||
# Visual Studio 2015/2017 cache/options directory
|
# Visual Studio 2015/2017 cache/options directory
|
||||||
.vs/
|
.vs/
|
||||||
|
|
Loading…
Reference in a new issue