We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15137f0 commit 15647beCopy full SHA for 15647be
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,34 @@
1
+name: .NET Core
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
7
+jobs:
8
+ build:
9
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Setup .NET Core
15
+ uses: actions/setup-dotnet@v1
16
+ with:
17
+ dotnet-version: 3.1.301
18
+ - name: Install tools
19
+ run: dotnet tool restore
20
+ - name: Install dependencies
21
+ run: dotnet restore
22
+ - name: Build
23
+ run: dotnet build --configuration Release --no-restore
24
+ - name: Test
25
+ run: dotnet test --no-restore --verbosity normal
26
+ - name: Run fsdocs
27
+ run: dotnet fsdocs build --properties Configuration=Release
28
+ - name: Deploy
29
+ uses: peaceiris/actions-gh-pages@v3
30
31
+ personal_token: ${{ secrets.GITHUB_TOKEN }}
32
+ publish_dir: ./output
33
+ publish_branch: gh-pages
34
+ force_orphan: true
0 commit comments