diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 60a5460..00f9184 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -45,10 +45,11 @@ jobs: - name: List of the result HTML files run: find . -type f -not -path '*/\.*' -not -path '*/node_modules/*' -name "*.html" - name: Prepare directory with resources for web - run: mkdir .public - - run: cp -r javascripts .public - - run: cp -r stylesheets .public - - run: cp -r node_modules/reveal.js .public/javascripts + run: | + mkdir .public + cp -r javascripts .public + cp -r stylesheets .public + cp -r node_modules/reveal.js .public/javascripts - name: Copy all HTML files run: find . -type f -not -path '*/\.*' -not -path './node_modules/*' -not -path './common/*' -name "*.html" -exec cp --parents -t "./.public" {} + - name: Copy all images directories