From 641069e6a6016aa9f836df50dbeb0c7c175230ad Mon Sep 17 00:00:00 2001 From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Date: Wed, 4 Sep 2024 19:14:28 +0100 Subject: [PATCH] Dev docs build rev 1 (#26682) * Dev docs build rev 1 * Do this work * Aight its done * Last bit of safety --- .github/workflows/devdocs.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/devdocs.yml diff --git a/.github/workflows/devdocs.yml b/.github/workflows/devdocs.yml new file mode 100644 index 000000000000..515d6f5bee7a --- /dev/null +++ b/.github/workflows/devdocs.yml @@ -0,0 +1,29 @@ +name: Deploy Devdocs + +on: + push: + paths: + - 'docs/**' + +jobs: + build_and_deploy: + runs-on: ubuntu-latest + name: Build and Deploy + steps: + - uses: actions/checkout@v4 + + - name: Build docs + run: | + python -m pip install mkdocs==1.6.0 mkdocs-material==9.5.31 mkdocs-github-admonitions-plugin==0.0.2 + python -m mkdocs build + + - name: Deploy docs + uses: Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} + action: 'upload' + app_location: 'site' + skip_app_build: true + skip_api_build: true + env: + SKIP_DEPLOY_ON_MISSING_SECRETS: true