From b1d9ce5cb19997d520dbd9ee2def8deb7b5871a2 Mon Sep 17 00:00:00 2001 From: edoapra Date: Tue, 4 Jan 2022 11:42:21 -0800 Subject: [PATCH] sparse checkout of archived forum [ci skip] --- .github/workflows/website_update.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/website_update.yml b/.github/workflows/website_update.yml index 5969d6931a..8689143d21 100644 --- a/.github/workflows/website_update.yml +++ b/.github/workflows/website_update.yml @@ -52,13 +52,20 @@ jobs: run: | ls -lrt docs - name: checkout archived forum - uses: actions/checkout@v2 - with: - path: contrib/mkdocs/docs/archivedforum - repository: nwchemgit/archivedforum - persist-credentials: false - fetch-depth: 1 - - name: check archiveforum source + shell: bash + working-directory: contrib/mkdocs/docs + run: | + git clone --depth 1 --filter=blob:none --sparse \ + https://github.com/nwchemgit/archivedforum + cd archivedforum + git sparse-checkout set Special_AWCforum +# uses: actions/checkout@v2 +# with: +# path: contrib/mkdocs/docs/archivedforum +# repository: nwchemgit/archivedforum +# persist-credentials: false +# fetch-depth: 1 + - name: soft-link archiveforum source shell: bash working-directory: contrib/mkdocs/docs/ run: |