(build) Switch to package hosted on Azure Artifacts #580
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: Publish Documentation | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
################################################### | |
# DOCS | |
################################################### | |
build: | |
name: Publish | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '3.1.301' # SDK Version to use. | |
- name: Publish-Documentation | |
shell: bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
STATIQ_GITHUB_TOKEN: ${{ secrets.STATIQ_GITHUB_TOKEN }} | |
STATIQ_DEPLOY_BRANCH: ${{ secrets.STATIQ_DEPLOY_BRANCH }} | |
STATIQ_DEPLOY_REMOTE: ${{ secrets.STATIQ_DEPLOY_REMOTE }} | |
run: | | |
dotnet tool restore | |
dotnet cake --target=Publish-Documentation |