From a60e5cc4025dc3d82b8168b856bbfd1dd2caebbe Mon Sep 17 00:00:00 2001 From: Peter Daengeli Date: Sat, 16 Nov 2024 09:04:24 +0000 Subject: [PATCH] GH action, in-place zipping --- .github/workflows/deploy-docu.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-docu.yaml b/.github/workflows/deploy-docu.yaml index 0e406e1..2ed1fc6 100644 --- a/.github/workflows/deploy-docu.yaml +++ b/.github/workflows/deploy-docu.yaml @@ -45,13 +45,12 @@ jobs: - name: Download and Prepare Oxygen Framework run: | release_url=$(curl -sL https://api.github.com/repos/dse-as/oxygen-framework/releases/latest | jq -r '.zipball_url') - wget --quiet --no-check-certificate $release_url -O dseas.zip - unzip dseas.zip # Remove top-level directory - rm dseas.zip - mv dse-as-oxygen-framework-* dseas - zip -r src/public/dseas.zip dseas - cp dseas/dseas.xml src/public/dseas.xml # Copy descriptor file - rm -r dseas + wget --quiet --no-check-certificate $release_url -O src/public/dseas.zip + unzip src/public/dseas.zip -d "src/public/dseas" + mv src/public/dseas/dse-as-oxygen-framework-*/* src/public/dseas + cp src/public/dseas/dseas.xml src/public/ + rm -r src/public/dseas/dse-as-oxygen-framework-* + zip -r - src/public/dseas >src/public/dseas.zip - name: Setup Pages uses: actions/configure-pages@v4 - name: Install dependencies