Skip to content

Commit

Permalink
test github pages with lab archives
Browse files Browse the repository at this point in the history
  • Loading branch information
ankudinov committed May 5, 2024
1 parent 528f83f commit 09abc74
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,21 @@ jobs:
env:
MARP_USER: root:root

- name: Add lab archive for local download
run: |
mkdir site/lab_archives
mkdir temp_labs
for DEMO_DIR in demos/*
do
DEMO_NAME="${DEMO_DIR##*/}"
mkdir temp_labs/${DEMO_NAME}
mkdir temp_labs/${DEMO_NAME}/.devcontainer
mkdir temp_labs/${DEMO_NAME}/demos
cp -r .devcontainer/${DEMO_NAME}/* temp_labs/${DEMO_NAME}/.devcontainer/
cp -r demos/${DEMO_NAME}/ temp_labs/${DEMO_NAME}/demos/
tar -czvf site/lab_archives/${DEMO_NAME}.tar.gz temp_labs/${DEMO_NAME}
done
# - name: setup node.js 🏗️
# uses: actions/setup-node@v4
# with:
Expand Down

0 comments on commit 09abc74

Please sign in to comment.