Merge branch 'development' #124
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Master - DocFX | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
docfx: | |
name: Build DocFX Documentation | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Setup DocFX | |
run: dotnet tool update -g docfx | |
- name: Build Core | |
run: dotnet build src/Artemis.Core/Artemis.Core.csproj | |
- name: Build UI.Shared | |
run: dotnet build src/Artemis.UI.Shared/Artemis.UI.Shared.csproj | |
- name: Build DocFX | |
run: docfx docfx/docfx_project/docfx.json | |
- name: Upload to FTP | |
uses: SamKirkland/[email protected] | |
with: | |
server: www360.your-server.de | |
protocol: ftps | |
username: ${{ secrets.FTP_USER }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
local-dir: docfx/docfx_project/_site/ | |
server-dir: /docs/ |