From 6839fa17dcd5d7af0cacb4e98592e86a93416e2f Mon Sep 17 00:00:00 2001 From: Aliaksei Chareshneu Date: Wed, 12 Jun 2024 08:16:03 +0200 Subject: [PATCH] move build viewer site step to deploy job (files are not shared otherwise) --- .github/workflows/deploy_docs_and_viewer.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy_docs_and_viewer.yml b/.github/workflows/deploy_docs_and_viewer.yml index e47d3493..a71af89f 100644 --- a/.github/workflows/deploy_docs_and_viewer.yml +++ b/.github/workflows/deploy_docs_and_viewer.yml @@ -44,13 +44,6 @@ jobs: run: | cd molstar-extension npm ci - - name: build viewer site - run: | - cd molstar-extension - npm run build-site - pwd - ls -lt - ls site deploy: runs-on: ubuntu-latest @@ -72,11 +65,20 @@ jobs: run: | cd docs mkdocs build + - name: build viewer site + run: | + cd molstar-extension + npm run build-site + pwd + ls -lt + ls site - name: Create public run: | pwd ls -lt ls docs/site/ + ls molstar-extension + ls molstar-extension/site mkdir -p ./public/docs mkdir -p ./public/viewer cp -r docs/site/* ./public/docs