diff --git a/.github/workflows/md-html-deploy.yml b/.github/workflows/md-html-deploy.yml index 47c05f8..4c4d795 100644 --- a/.github/workflows/md-html-deploy.yml +++ b/.github/workflows/md-html-deploy.yml @@ -30,13 +30,14 @@ jobs: run: | mkdir -p _site for file in *.md; do - pandoc "$file" -o "_site/${file%.md}.html" + pandoc "$file" --standalone --toc -o "_site/${file%.md}.html" done - name: Deploy to GitHub Pages run: | - git config --global user.email "belindabrownr04@gmail.com" - git config --global user.name "brown9804" - git add _site + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + git pull origin ${{ github.ref }} --rebase + git add -A # Add all changes, including untracked files git commit -m 'Deploy static HTML files' git push origin HEAD:${{ github.ref }} diff --git a/GitHub/demos/1_GitHubPagesOverview.md b/GitHub/demos/1_GitHubPagesOverview.md index f418416..22aa4c9 100644 --- a/GitHub/demos/1_GitHubPagesOverview.md +++ b/GitHub/demos/1_GitHubPagesOverview.md @@ -89,7 +89,7 @@ Last updated: 2025-01-13 run: | mkdir -p _site for file in *.md; do - pandoc "$file" -o "_site/${file%.md}.html" + pandoc "$file" --standalone --toc -o "_site/${file%.md}.html" done - name: Deploy to GitHub Pages @@ -105,9 +105,9 @@ Last updated: 2025-01-13 1. **Create a Repository**: Create a new repository on GitHub or use an existing one. 2. **Enable GitHub Pages**: - Go to the repository settings on GitHub. - - Under the `GitHub Pages` section, select the `GitHub Actions`, and `Static HTML` as the source. + - Under the `GitHub Pages` section, select the `main` branch as the source. - image + image > Static HTML refers to web pages that are delivered to the user's browser exactly as stored, without any server-side processing. Static sites are fast, secure, and easy to deploy, making them ideal for simple websites, portfolios, blogs, and documentation. 3. Push Your Code: Commit and push your code to the main branch. The GitHub Actions workflow will automatically run and deploy your site to GitHub Pages. diff --git a/_site/README.html b/_site/README.html new file mode 100644 index 0000000..d4efbad --- /dev/null +++ b/_site/README.html @@ -0,0 +1,183 @@ +

Cloud DevOps - Learning Path

+

Costa Rica

+

brown9804

+

Last updated: 2024-12-13

+
+
+

Provides the essential knowledge required to work effectively within +Azure and embrace DevOps/Agile methodologies. Additionally, it offers +insights into fundamental cloud concepts.

+
+
+

+Total Visitors +

+

Visitor Count

+
+

Content

+
+ +Table of Contents (Click to expand) + + +
+

Wiki

+ +
+ + +
+
+ + +
+
+ + +
+ +
+ + +
diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..48e341a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3 @@ +{ + "lockfileVersion": 1 +}