Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
akmand authored Sep 16, 2024
1 parent 04cde82 commit 5d2e2f7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v2

# Step 2: Install Unzip Tool
- name: Install unzip
run: sudo apt-get install unzip

# Step 3: Unzip the uploaded HTML folder to the root
- name: Unzip HTML folder to root
run: unzip html.zip -d ./ # Unzips the content directly into the root of the repo
# Step 2: Combine the split ZIP parts into a single file
- name: Combine split ZIP parts
run: cat html_site_part_*.zip > html_site_combined.zip

# Step 3: Unzip the combined file into the root directory
- name: Unzip combined ZIP file to root
run: unzip html_site_combined.zip -d ./

# Step 4: Deploy to GitHub Pages (if using GitHub Pages from the 'gh-pages' branch)
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 5d2e2f7

Please sign in to comment.