From 755ca40379c3bf91c7c5a86b4bffa705c76a2a6b Mon Sep 17 00:00:00 2001 From: HYP3R00T Date: Thu, 9 May 2024 21:47:52 +0530 Subject: [PATCH] fixing deploy pipeline --- .github/workflows/mkdocs_publish.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/mkdocs_publish.yml b/.github/workflows/mkdocs_publish.yml index e917969..f94dc47 100644 --- a/.github/workflows/mkdocs_publish.yml +++ b/.github/workflows/mkdocs_publish.yml @@ -28,14 +28,6 @@ jobs: - name: Build and deploy run: | poetry run mkdocs build --verbose - - - name: Deploy to GitHub Pages - run: | - git config --global user.email "actions@github.com" - git config --global user.name "GitHub Actions" - git add . - git commit -m "Deploy MkDocs to GitHub Pages" - git branch -M gh-pages - git push origin gh-pages --force + poetry run mkdocs gh-deploy --verbose --force env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}