Skip to content

Publish

Publish #146

Workflow file for this run

name: Publish
on:
workflow_dispatch:
schedule:
- cron: '20 19 * * 0'
jobs:
publish:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Checkout branch
run: |
git fetch; git checkout master
- name: Build with MSBuild
run: |
& "$env:windir\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" tools\src\RuSoTools.sln
- name: Generate website
run: |
Set-Location -Path tools\src\ArchiveLoader\bin\Debug\; .\ArchiveLoader.exe generate
- name: Build website
run: |
choco install docfx; docfx .\docfx.json
- name: Push changes
run: |
.\tools\src\Scripts\push.ps1 -pathspec 'html/*' -message 'CI publish'