From dbf7ff5f0582e7d4051e9527600e2bb0698fb2c2 Mon Sep 17 00:00:00 2001 From: Robson Date: Fri, 13 Dec 2024 14:44:00 -0300 Subject: [PATCH] fix: fix documentation deploy --- .github/workflows/documentation_deploy.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/documentation_deploy.yml b/.github/workflows/documentation_deploy.yml index 572ce51..ed52829 100644 --- a/.github/workflows/documentation_deploy.yml +++ b/.github/workflows/documentation_deploy.yml @@ -10,15 +10,19 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.x + python-version: 3.12 - name: Install Dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt + pip install -r requirements/requirements.txt - - name: Reload documentations - run: make local_doc + - name: Configure Git + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" - name: Run deploy on gh-pages - run: mkdocs gh-deploy --force --clean --verbose + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + run: mkdocs gh-deploy --force --clean --verbose --remote-branch gh-pages