From f4b4a4a87ba34d1ff60fd473a71bf52afbe2e0ec Mon Sep 17 00:00:00 2001 From: Abdullah Selek Date: Sun, 20 Oct 2024 18:14:13 +0100 Subject: [PATCH] Update doc deployment pipeline. --- .github/workflows/deploy-docs.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 7ec3f54..a8924fb 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -5,11 +5,11 @@ on: types: [opened, synchronize] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: "3.9" - name: Install Module @@ -22,11 +22,16 @@ jobs: - name: Build Docs run: mkdocs build - name: Deploy to Netlify - uses: nwtgck/actions-netlify@v1.0.3 + uses: nwtgck/actions-netlify@v3.0 with: - publish-dir: './site' + publish-dir: './dist' production-branch: master github-token: ${{ secrets.PERSONAL_TOKEN }} + deploy-message: "Deploy from GitHub Actions" + enable-pull-request-comment: false + enable-commit-comment: true + overwrites-pull-request-comment: true env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + timeout-minutes: 1