Skip to content

Commit

Permalink
Update create-app-structure.yml
Browse files Browse the repository at this point in the history
Signed-off-by: ArchBlood <35392110+ArchBlood@users.noreply.github.com>
  • Loading branch information
ArchBlood authored Nov 6, 2024
1 parent 4250991 commit c6b0886
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/create-app-structure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ jobs:
# Download HumHub zip file from the official site
curl -L https://download.humhub.com/downloads/install/humhub-1.17.0-beta.1.zip -o humhub.zip
# Unzip the package into the 'app' directory (preserving the HumHub structure)
unzip -q humhub.zip -d app/
# Unzip the package into a temporary directory
unzip -q humhub.zip -d humhub_temp
# Remove the zip file after extraction
# Move all contents from the extracted 'humhub-1.17.0-beta.1' directory into 'app/'
mv humhub_temp/humhub-1.17.0-beta.1/* app/
# Clean up by removing the temporary folder and the zip file
rm -rf humhub_temp
rm humhub.zip
- name: Output the directory structure
Expand All @@ -53,7 +57,7 @@ jobs:
# Add and commit any changes (including the unzipped HumHub content)
git add app/
git commit -m "Unzip HumHub files into app/" || echo "No changes to commit"
git commit -m "Unzip HumHub files directly into app/" || echo "No changes to commit"
# Push the changes to the repository
git push origin main

0 comments on commit c6b0886

Please sign in to comment.