Skip to content

Commit

Permalink
New Version
Browse files Browse the repository at this point in the history
  • Loading branch information
rramoscabral committed Nov 15, 2024
1 parent 36368b5 commit 263fb26
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 8 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment to GitHub Pages
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
# Windows
desktop.ini

# Virtual environments
openai/
aiwins/
.venv/
.env/


# User-specific files
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ gem "jekyll", "~> 4.3" # installed by `gem jekyll`
# gem "webrick" # required when using Ruby >= 3 and Jekyll <= 4.2.2

gem "just-the-docs", "0.4.2" # pinned to the current release
# gem "just-the-docs" # always download the latest release
# gem "just-the-docs" # always download the latest release
14 changes: 7 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
title: "Training course for Microsoft AZ-040 "
description: "Companion material and resources for the course 'AZ-040: Automating Administration with PowerShell' delivery by Ricardo Cabral."
url: "https://az040.rramoscabral.com/"
repository: "https://github.com/rramoscabral/AZ-040---Training---Automating-Administration-with-PowerShell"
title: "Training course for Microsoft AZ-204"
description: "Companion material and resources for the course 'AZ-204: Developing Solutions for Microsoft Azure' delivery by Ricardo Cabral."
url: "https://az204.rramoscabral.com/"
repository: "https://github.com/rramoscabral/AZ-204---Training---Developing-Solutions-for-Microsoft-Azure"
theme: just-the-docs

aux_links:
"Companion Material and Resources for Class Delivery by Ricardo Cabral for Microsoft Course AZ-040":
- "https://az040.rramoscabral.com/"
"Companion Material and Resources for Class Delivery by Ricardo Cabral for Microsoft Course AZ-204":
- "https://az204.rramoscabral.com/"

callouts_level: quiet # or loud
callouts:
Expand Down Expand Up @@ -58,6 +58,6 @@ last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https:/
# Footer "Edit this page on GitHub" link text
gh_edit_link: true # show or hide edit this page link
gh_edit_link_text: "Edit this page on GitHub."
gh_edit_repository: "https://github.com/rramoscabral/AZ-801---Training---Configuring-Windows-Server-Hybrid-Advanced-Services"
gh_edit_repository: "https://github.com/rramoscabral/AZ-204---Training---Developing-Solutions-for-Microsoft-Azure"
gh_edit_branch: "main"
gh_edit_view_mode: "tree"

0 comments on commit 263fb26

Please sign in to comment.