Skip to content

Update README.md

Update README.md #11

Workflow file for this run

name: Deploy HTML Site
on:
push:
branches:
- main # Triggers the workflow on every push to the main branch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- 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 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
with:
github_token: ${{ secrets.GH_PAT }}
publish_dir: ./ # This ensures everything at the root is deployed