Skip to content

Commit

Permalink
Copy entire _static directory via a single command
Browse files Browse the repository at this point in the history
  • Loading branch information
eecavanna committed Dec 13, 2024
1 parent 7a51d01 commit f7768e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
- name: Introduce additional source files, static files, and a configuration file
run: |
cp -r src/ingesters/workflow_docs/metagenome_workflow_overview/docs /tmp/book/src/chapters/1_Metagenome_Workflow_Overview
cp src/ingesters/workflow_docs/_static/js/index.js /tmp/book/src/_static/js/index.js
cp src/ingesters/workflow_docs/_static/favicon.ico /tmp/book/src/_static/favicon.ico
cp -r src/ingesters/workflow_docs/_static /tmp/book/src/_static
cp src/ingesters/workflow_docs/overview.rst /tmp/book/src/chapters/overview.rst
cp src/ingesters/workflow_docs/index.rst /tmp/book/src/index.rst
cp src/ingesters/workflow_docs/conf.py /tmp/book/src/conf.py
Expand Down
3 changes: 1 addition & 2 deletions src/ingesters/workflow_docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ RUN /tmp/fetch_docs_sources.sh
# Introduce additional source documents and a configuration file.
# Note: The above shell script will have created `/tmp/book/src/chapters/`.
COPY metagenome_workflow_overview/docs /tmp/book/src/chapters/1_Metagenome_Workflow_Overview
COPY _static/js/index.js /tmp/book/src/_static/js/index.js
COPY _static/favicon.ico /tmp/book/src/_static/favicon.ico
COPY _static /tmp/book/src/_static
COPY overview.rst /tmp/book/src/chapters/overview.rst
COPY index.rst /tmp/book/src/index.rst
COPY conf.py /tmp/book/src/conf.py
Expand Down

0 comments on commit f7768e5

Please sign in to comment.