From 05889194b00a214a4bb5fb81d9e0a405cd68bf87 Mon Sep 17 00:00:00 2001
From: Timna Brown <24630902+brown9804@users.noreply.github.com>
Date: Mon, 13 Jan 2025 12:55:02 -0600
Subject: [PATCH 1/2] test
---
GitHub/demos/1_GitHubPagesOverview.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/GitHub/demos/1_GitHubPagesOverview.md b/GitHub/demos/1_GitHubPagesOverview.md
index 1281eac..8ec339a 100644
--- a/GitHub/demos/1_GitHubPagesOverview.md
+++ b/GitHub/demos/1_GitHubPagesOverview.md
@@ -5,7 +5,6 @@ Costa Rica
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/) [brown9804](https://github.com/brown9804)
Last updated: 2025-01-13
-
----------------------
> **GitHub Pages** is a feature provided by GitHub that allows you to `host static websites directly from a GitHub repository`. It's a great way to showcase your projects, create personal websites, or host documentation for your repositories.
From 458e0079b2248c63dfed45884a28dd17ad5d3d34 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Last updated: 2025-01-13
-GitHub Pages is a feature provided by GitHub that allows you to @@ -416,10 +417,16 @@
How is GitHub Pages Used?
fi # Add all changes, including untracked files git add -A - # Commit the changes - git commit -m 'Deploy static HTML files' - # Push the changes to the remote branch - git push origin HEAD:${{ github.ref }} + # Check for changes before committing + if git diff-index --quiet HEAD --; then + echo "No changes to commit" + exit 0 + else + # Commit the changes + git commit -m 'Deploy static HTML files' + # Push the changes to the remote branch + git push origin HEAD:${{ github.ref }} + fiSetting Up GitHub Pages