I’ve successfully updated both the zer0.md
build instructions and the install.sh
script to provide a simplified, streamlined installation process that’s optimized for Azure Static Web Apps deployment.
Before: Complex manual setup with multiple shell commands creating directories, configuration files, and Azure workflows.
After: Single command installation that handles everything automatically:
# Navigate to your repository directory
cd $ZREPO
# Download and run the zer0-mistakes theme installer directly from GitHub
curl -fsSL https://raw.githubusercontent.com/bamr87/zer0-mistakes/main/install.sh | bash
build/
directory for logs and temporary filesThe installation now creates the optimal directory structure for Azure Static Web Apps:
.
) - Contains Jekyll source filesapi/
directory - For Azure Functions (optional)_site/
directory - Jekyll build outputAutomatically creates .github/workflows/azure-static-web-apps.yml
with:
curl -fsSL https://raw.githubusercontent.com/bamr87/zer0-mistakes/main/install.sh | bash
git clone https://github.com/bamr87/zer0-mistakes.git temp-theme
./temp-theme/install.sh .
rm -rf temp-theme
./install.sh /path/to/target/directory
_config.yml
, _config_dev.yml
, frontmatter.json
Gemfile
, Rakefile
, package.json
docker-compose.yml
, Dockerfile
_data/
, _sass/
, _includes/
, _layouts/
, assets/
404.html
, favicon.ico
, index.md
(if not exists).gitignore
, INSTALLATION.md
.github/workflows/azure-static-web-apps.yml
build/
directory with logsdocker-compose up
# OR
bundle install && bundle exec jekyll serve --config _config_dev.yml
AZURE_STATIC_WEB_APPS_API_TOKEN
to GitHub repository secretsmain
branch to trigger deployment_config.yml
for site settingsindex.md
for homepage contentpages/
directory_sass/custom.scss
This update follows all the IT-Journey principles: