Skip to content

updated credentials #13

updated credentials

updated credentials #13

name: Publish docs to gh-pages
on:
push:
branches: [ "master" ]
jobs:
test:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4.0.0
- name: Load Cache 📦
uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache/test
- name: Test 🧪
run: dotnet test --verbosity normal
build-and-publish-docs:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
needs: test
permissions:
contents: write
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4.0.0
- name: Setup Python 🐍
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Load Cache 📦
uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache/docs
- name: Install Python mkdocs-material 🐍
run: pip install mkdocs-material
- name: Build and deploy to gh pages 🏗️
run: mkdocs gh-deploy --force