Skip to content

Commit

Permalink
GH action, in-place zipping
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaengeli authored Nov 16, 2024
1 parent d2c3b10 commit a60e5cc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/deploy-docu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a60e5cc

Please sign in to comment.