Skip to content

Bump AWSSDK.Core from 3.7.400.40 to 3.7.400.45 (#847) #325

Bump AWSSDK.Core from 3.7.400.40 to 3.7.400.45 (#847)

Bump AWSSDK.Core from 3.7.400.40 to 3.7.400.45 (#847) #325

name: Build & Deploy Docs
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
5.0.x
6.0.x
8.0.x
- uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.?sproj') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Install docfx
run: dotnet tool install --global docfx
- name: Compile
run: dotnet build -c Release
- name: Generate docs
run: docfx ./docs/docfx.json
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_site/