From 84f67a6ec69875c8d1e7416fbba0722f8d0027c4 Mon Sep 17 00:00:00 2001 From: Antonio Gelameris Date: Sat, 6 Apr 2024 16:23:25 +0200 Subject: [PATCH] Static again --- .github/workflows/pages.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 4ce2ad2..6fd1786 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -20,12 +20,15 @@ jobs: fetch-depth: 0 - name: Copy images folder - run: if [ -d images ]; then cp -R images build/images; fi + run: if [[ -d images ]]; then + mkdir -p static + cp -R images static/images + fi - name: Build slides.md uses: docker://marpteam/marp-cli:v3.0.2 with: - args: --output build/index.html slides.md + args: --output static/index.html slides.md env: MARP_USER: root:root @@ -33,5 +36,5 @@ jobs: uses: peaceiris/actions-gh-pages@v3.9.3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./build + publish_dir: ./static cname: slides.toniogela.dev