-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (34 loc) · 976 Bytes
/
Copy pathdeploy.yml
File metadata and controls
39 lines (34 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build and Deploy
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: windows-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.407
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
submodules: true
- name: Install Paket as global tool
run: dotnet tool install paket --global
- name: Add credentials for Paket
run:
paket config
add-credentials https://nuget.pkg.github.com/dotnet-websharper/index.json
--username intellifactory-gh
--password ${{ secrets.PAT_PACKAGE }}
- name: Build 🔧
run: ./build
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build