Skip to content

Commit c5cd47d

Browse files
Migrate to github
1 parent e997485 commit c5cd47d

33 files changed

+13300
-5
lines changed

.github/workflows/Fable.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: .NET
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 6.0.x
20+
21+
- uses: cloudflare/[email protected]
22+
with:
23+
apiToken: ${{ secrets.CF_PAGES_API_TOKEN }}
24+
25+
- name: Restore dependencies
26+
run: dotnet restore
27+
working-directory: nacara-site/blog-layout
28+
29+
- name: Restore tools
30+
run: dotnet tool restore --tool-manifest
31+
working-directory: nacara-site/blog-layout
32+
33+
- name: Build
34+
run: dotnet build --no-restore
35+
working-directory: nacara-site/blog-layout
36+
37+
- name: Fable Build
38+
run: dotnet fable --outdir dist
39+
working-directory: nacara-site/blog-layout
40+
41+
- name: Npm install/restore
42+
run: npm install
43+
working-directory: nacara-site/
44+
45+
- name: Nacara Build
46+
run: npm run build
47+
working-directory: nacara-site/

0 commit comments

Comments
 (0)