Skip to content

Commit 8e62b95

Browse files
committed
Initial commit
0 parents  commit 8e62b95

17 files changed

+1689
-0
lines changed

.assets/social-preview.png

111 KB
Loading

.github/workflows/gh-pages.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: github pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
# Checkout the code
13+
- uses: actions/checkout@v4
14+
15+
# Install .NET SDK
16+
- name: Setup .NET SDK
17+
uses: actions/setup-dotnet@v4
18+
with:
19+
dotnet-version: 9.0.x
20+
- name: Install .NET WebAssembly Tools
21+
run: dotnet workload install wasm-tools
22+
23+
# Publish the site
24+
- name: Publish
25+
run: dotnet publish TextFileEncodingConverter.csproj -c Release -o public -p GHPages=true
26+
27+
# Deploy the site
28+
- name: Deploy
29+
uses: peaceiris/actions-gh-pages@v4
30+
with:
31+
github_token: ${{ secrets.GITHUB_TOKEN }}
32+
publish_dir: public/wwwroot
33+
force_orphan: true

0 commit comments

Comments
 (0)