From 054f86a8964a67bc95369871b7a287f4801ee154 Mon Sep 17 00:00:00 2001 From: Rocky Dunlap Date: Mon, 19 Sep 2022 11:24:33 -0600 Subject: [PATCH] Create dev_guide directory when copying docs --- .github/workflows/build-esmf-docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-esmf-docs.yml b/.github/workflows/build-esmf-docs.yml index f68f3193e0..58ed731467 100644 --- a/.github/workflows/build-esmf-docs.yml +++ b/.github/workflows/build-esmf-docs.yml @@ -51,8 +51,8 @@ jobs: - name: Copy docs run: | - cd ${{ github.workspace }}/esmf-org.github.io - mkdir -p docs/nightly/${{ github.ref_name }} + cd ${{ github.workspace }}/esmf-org.github.io + mkdir -p docs/nightly/${{ github.ref_name }}/dev_guide cd ${{ github.workspace }}/artifacts unzip doc-artifacts.zip cd ${{ github.workspace }}/artifacts/artifacts/doc-esmf @@ -62,7 +62,7 @@ jobs: cp -rf NUOPC_refdoc.pdf ${{ github.workspace }}/esmf-org.github.io/docs/nightly/${{ github.ref_name }}/ cp -rf NUOPC_howtodoc ${{ github.workspace }}/esmf-org.github.io/docs/nightly/${{ github.ref_name }}/ cp -rf NUOPC_howtodoc.pdf ${{ github.workspace }}/esmf-org.github.io/docs/nightly/${{ github.ref_name }}/ - cd ${{ github.workspace }}/artifacts/artifacts/doc-dev_guide + cd ${{ github.workspace }}/artifacts/artifacts/doc-dev_guide cp -rf ./dev_guide/dev_guide/* ${{ github.workspace }}/esmf-org.github.io/docs/nightly/${{ github.ref_name }}/dev_guide/ - name: Commit and publish docs