We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4794201 commit d7686f6Copy full SHA for d7686f6
1 file changed
.github/workflows/demo.yml
@@ -0,0 +1,37 @@
1
+name: Deploy to demo branch
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy-demo:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
13
+ - name: Checkout
14
+ uses: actions/checkout@v2.3.1
15
16
+ - uses: actions/cache@v2
17
+ with:
18
+ path: ~/.nuget/packages
19
+ key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
20
+ restore-keys: |
21
+ ${{ runner.os }}-nuget-
22
+ - name: Setup .NET
23
+ uses: actions/setup-dotnet@v1
24
25
+ dotnet-version: '5.0.x'
26
27
+ - name: Publish Blogifier
28
+ run: dotnet publish -c Release -o release --nologo
29
30
+ - name: Add .nojekyll file
31
+ run: touch release/.nojekyll
32
33
+ - name: Deploy
34
+ uses: JamesIves/github-pages-deploy-action@4.1.4
35
36
+ branch: demo
37
+ folder: release
0 commit comments