From 9324a78d4c96b5a06695d48cb7a81e9f7b818f6d Mon Sep 17 00:00:00 2001 From: aryan Date: Tue, 13 Aug 2024 12:03:13 +0530 Subject: [PATCH] fix deployment error Signed-off-by: aryan --- .github/workflows/mkdocs_deploy.yml | 12 +++++++++--- .gitmodules | 8 ++++---- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/mkdocs_deploy.yml b/.github/workflows/mkdocs_deploy.yml index a9d9265..033edcf 100644 --- a/.github/workflows/mkdocs_deploy.yml +++ b/.github/workflows/mkdocs_deploy.yml @@ -1,4 +1,5 @@ name: Publish docs via GitHub Pages + on: push: branches: @@ -6,15 +7,20 @@ on: jobs: build: - name: Deploy docs runs-on: ubuntu-latest + steps: - - name: Checkout main + - name: Checkout code uses: actions/checkout@v2 + - name: Fetch Submodule Branches + run: | + git submodule foreach --recursive 'git fetch --all' + git submodule update --init --remote --recursive + git submodule foreach --recursive 'git fetch origin +refs/heads/*:refs/remotes/origin/*' + - name: Deploy docs uses: mhausenblas/mkdocs-deploy-gh-pages@master - # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Uncomment the following line if using PERSONAL_TOKEN diff --git a/.gitmodules b/.gitmodules index 521f6c9..95512ca 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,12 +1,12 @@ [submodule "docs/Submodules/IntelOwl"] path = docs/Submodules/IntelOwl - url = git@github.com:aryan-bhokare/IntelOwl.git + url = https://github.com/aryan-bhokare/IntelOwl.git [submodule "docs/Submodules/GreedyBear"] path = docs/Submodules/GreedyBear - url = git@github.com:aryan-bhokare/GreedyBear.git + url = https://github.com/aryan-bhokare/GreedyBear.git [submodule "docs/Submodules/pyintelowl"] path = docs/Submodules/pyintelowl - url = git@github.com:aryan-bhokare/pyintelowl.git + url = https://github.com/aryan-bhokare/pyintelowl.git [submodule "docs/Submodules/GoIntelOwl"] path = docs/Submodules/GoIntelOwl - url = git@github.com:aryan-bhokare/go-intelowl.git + url = https://github.com/aryan-bhokare/go-intelowl.git