gh_pages_setup
deployment_steps
-
Open Repository Settings: Navigate to your GitHub repository at
https://github.com/p19racha/Apah. - Access Pages Tab: Click on the Settings tab in the top navigation bar, then select Pages under Code and automation.
-
Configure Source Branch: Under Build and deployment, set Source to
Deploy from a branch. -
Select Folder Directory: Select
mainbranch and specify/docsas the root folder directory. -
Save & Publish: Click Save. GitHub Pages will build and deploy the landing page at
https://p19racha.github.io/Apah/.
script_verification
plain_text_validation
Before running piped execution (curl ... | sh), verify that GitHub Pages serves install.sh as plain text:
~/apah $ curl -fsSL https://p19racha.github.io/Apah/install.sh | head -n 10
Expected raw output header:
+ #!/bin/sh + # Apah POSIX One-Line Installer for Linux and macOS
installer_commands
production_commands
linux & macos (posix sh)
curl -fsSL https://p19racha.github.io/Apah/install.sh | sh
windows (powershell)
irm https://p19racha.github.io/Apah/install.ps1 | iex