Skip to content

Version 7.0.0.447-beta5 #25

Version 7.0.0.447-beta5

Version 7.0.0.447-beta5 #25

Workflow file for this run

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: 6.0.101
- 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 WS-BuildRelease
- name: Copy index.html
run: cp WebSharper.Highlightjs.Sample/index.html dist/index.html
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist