Skip to content

Commit

Permalink
Switch to Jekyll workflow from GitHub Pages Jekyll
Browse files Browse the repository at this point in the history
Hopefully this fixes thumbnails not displaying in /projects
  • Loading branch information
paulzzy committed Apr 14, 2024
1 parent 5a76b24 commit 6d9f9a0
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 43 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# See https://jekyllrb.com/docs/continuous-integration/github-actions/#setting-up-the-action

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
Expand Down Expand Up @@ -28,14 +35,22 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
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
uses: actions/configure-pages@v4
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
# 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
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
Expand Down
2 changes: 1 addition & 1 deletion _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-04-14T14:59:33-07:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">OPS 2.0</title><author><name>IEEE at UCLA</name></author></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-04-14T15:51:15-07:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">OPS 2.0</title><author><name>IEEE at UCLA</name></author></feed>
6 changes: 3 additions & 3 deletions _site/projects/1-back-to-the-basics/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@



<meta property="article:published_time" content="2024-04-14T14:59:33-07:00">
<meta property="article:published_time" content="2024-04-14T15:51:15-07:00">



Expand Down Expand Up @@ -168,7 +168,7 @@
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="1: Back to the Basics">
<meta itemprop="description" content="Make an LED light up!">
<meta itemprop="datePublished" content="2024-04-14T14:59:33-07:00">
<meta itemprop="datePublished" content="2024-04-14T15:51:15-07:00">


<div class="page__inner-wrap">
Expand Down Expand Up @@ -436,7 +436,7 @@ <h2 id="checkoff-questions">Checkoff Questions</h2>



<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T14:59:33-07:00">April 14, 2024</time></p>
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T15:51:15-07:00">April 14, 2024</time></p>


</footer>
Expand Down
6 changes: 3 additions & 3 deletions _site/projects/2-debugging/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@



<meta property="article:published_time" content="2024-04-14T14:59:33-07:00">
<meta property="article:published_time" content="2024-04-14T15:51:15-07:00">



Expand Down Expand Up @@ -168,7 +168,7 @@
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="2: Debugging">
<meta itemprop="description" content="Practice debugging circuits using a multimeter.">
<meta itemprop="datePublished" content="2024-04-14T14:59:33-07:00">
<meta itemprop="datePublished" content="2024-04-14T15:51:15-07:00">


<div class="page__inner-wrap">
Expand Down Expand Up @@ -256,7 +256,7 @@ <h2 id="potential-buggy-circuits">Potential Buggy circuits</h2>



<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T14:59:33-07:00">April 14, 2024</time></p>
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T15:51:15-07:00">April 14, 2024</time></p>


</footer>
Expand Down
6 changes: 3 additions & 3 deletions _site/projects/3-integrated-circuits/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@



<meta property="article:published_time" content="2024-04-14T14:59:33-07:00">
<meta property="article:published_time" content="2024-04-14T15:51:15-07:00">



Expand Down Expand Up @@ -168,7 +168,7 @@
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="3: Integrated Circuits">
<meta itemprop="description" content="Use a 555 timer to blink an LED and play musical notes!">
<meta itemprop="datePublished" content="2024-04-14T14:59:33-07:00">
<meta itemprop="datePublished" content="2024-04-14T15:51:15-07:00">


<div class="page__inner-wrap">
Expand Down Expand Up @@ -534,7 +534,7 @@ <h3 id="part-2-1"><ins>Part 2</ins></h3>



<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T14:59:33-07:00">April 14, 2024</time></p>
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T15:51:15-07:00">April 14, 2024</time></p>


</footer>
Expand Down
6 changes: 3 additions & 3 deletions _site/projects/4-microcontrollers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@



<meta property="article:published_time" content="2024-04-14T14:59:33-07:00">
<meta property="article:published_time" content="2024-04-14T15:51:15-07:00">



Expand Down Expand Up @@ -168,7 +168,7 @@
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="4: Microcontrollers">
<meta itemprop="description" content="An introduction to Arduino with a fun and easy project.">
<meta itemprop="datePublished" content="2024-04-14T14:59:33-07:00">
<meta itemprop="datePublished" content="2024-04-14T15:51:15-07:00">


<div class="page__inner-wrap">
Expand Down Expand Up @@ -521,7 +521,7 @@ <h2 id="checkoff-questions">Checkoff Questions</h2>



<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T14:59:33-07:00">April 14, 2024</time></p>
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T15:51:15-07:00">April 14, 2024</time></p>


</footer>
Expand Down
6 changes: 3 additions & 3 deletions _site/projects/5-digital-analog-pwm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@



<meta property="article:published_time" content="2024-04-14T14:59:33-07:00">
<meta property="article:published_time" content="2024-04-14T15:51:15-07:00">



Expand Down Expand Up @@ -168,7 +168,7 @@
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="5: Digital, Analog, and PWM">
<meta itemprop="description" content="Play your favorite tunes with your very own iPoduino!">
<meta itemprop="datePublished" content="2024-04-14T14:59:33-07:00">
<meta itemprop="datePublished" content="2024-04-14T15:51:15-07:00">


<div class="page__inner-wrap">
Expand Down Expand Up @@ -433,7 +433,7 @@ <h2 id="checkoff-questions">Checkoff Questions</h2>



<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T14:59:33-07:00">April 14, 2024</time></p>
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T15:51:15-07:00">April 14, 2024</time></p>


</footer>
Expand Down
6 changes: 3 additions & 3 deletions _site/projects/6-transistors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@



<meta property="article:published_time" content="2024-04-14T14:59:33-07:00">
<meta property="article:published_time" content="2024-04-14T15:51:15-07:00">



Expand Down Expand Up @@ -168,7 +168,7 @@
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="6: Transistors">
<meta itemprop="description" content="Learn how to build an Arduino Distance Sensor">
<meta itemprop="datePublished" content="2024-04-14T14:59:33-07:00">
<meta itemprop="datePublished" content="2024-04-14T15:51:15-07:00">


<div class="page__inner-wrap">
Expand Down Expand Up @@ -482,7 +482,7 @@ <h2 id="checkoff-questions">Checkoff Questions</h2>



<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T14:59:33-07:00">April 14, 2024</time></p>
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T15:51:15-07:00">April 14, 2024</time></p>


</footer>
Expand Down
6 changes: 3 additions & 3 deletions _site/projects/7-serial-communication/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@



<meta property="article:published_time" content="2024-04-14T14:59:33-07:00">
<meta property="article:published_time" content="2024-04-14T15:51:15-07:00">



Expand Down Expand Up @@ -168,7 +168,7 @@
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="7: Serial Communication">
<meta itemprop="description" content="Implement a 2-Arduino game called Red Light, Green Light!">
<meta itemprop="datePublished" content="2024-04-14T14:59:33-07:00">
<meta itemprop="datePublished" content="2024-04-14T15:51:15-07:00">


<div class="page__inner-wrap">
Expand Down Expand Up @@ -630,7 +630,7 @@ <h4 id="connecting-hc-05-to-windows">Connecting HC-05 to Windows</h4>



<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T14:59:33-07:00">April 14, 2024</time></p>
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T15:51:15-07:00">April 14, 2024</time></p>


</footer>
Expand Down
6 changes: 3 additions & 3 deletions _site/projects/8-communication-protocols/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@



<meta property="article:published_time" content="2024-04-14T14:59:33-07:00">
<meta property="article:published_time" content="2024-04-14T15:51:15-07:00">



Expand Down Expand Up @@ -168,7 +168,7 @@
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="8: Communication Protocols">
<meta itemprop="description" content="Using a joystick, OLED display, and a whole lot of code you will get to create your very own GameBuino and video game to play with it!">
<meta itemprop="datePublished" content="2024-04-14T14:59:33-07:00">
<meta itemprop="datePublished" content="2024-04-14T15:51:15-07:00">


<div class="page__inner-wrap">
Expand Down Expand Up @@ -541,7 +541,7 @@ <h3 id="section-two-controla-controla">Section two: controla’ controla’</h3>



<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T14:59:33-07:00">April 14, 2024</time></p>
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T15:51:15-07:00">April 14, 2024</time></p>


</footer>
Expand Down
6 changes: 3 additions & 3 deletions _site/projects/9-pid-and-motor-control/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@



<meta property="article:published_time" content="2024-04-14T14:59:33-07:00">
<meta property="article:published_time" content="2024-04-14T15:51:15-07:00">



Expand Down Expand Up @@ -168,7 +168,7 @@
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="9: PID and Motor Control">
<meta itemprop="description" content="Use the skills you have learned to make a path-following rodent or an RC car!">
<meta itemprop="datePublished" content="2024-04-14T14:59:33-07:00">
<meta itemprop="datePublished" content="2024-04-14T15:51:15-07:00">


<div class="page__inner-wrap">
Expand Down Expand Up @@ -614,7 +614,7 @@ <h2 id="faq">FAQ</h2>



<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T14:59:33-07:00">April 14, 2024</time></p>
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> Updated:</strong> <time datetime="2024-04-14T15:51:15-07:00">April 14, 2024</time></p>


</footer>
Expand Down
18 changes: 9 additions & 9 deletions _site/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,39 @@
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://localhost:4000/projects/1-back-to-the-basics/</loc>
<lastmod>2024-04-14T14:59:33-07:00</lastmod>
<lastmod>2024-04-14T15:51:15-07:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/projects/2-debugging/</loc>
<lastmod>2024-04-14T14:59:33-07:00</lastmod>
<lastmod>2024-04-14T15:51:15-07:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/projects/3-integrated-circuits/</loc>
<lastmod>2024-04-14T14:59:33-07:00</lastmod>
<lastmod>2024-04-14T15:51:15-07:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/projects/4-microcontrollers/</loc>
<lastmod>2024-04-14T14:59:33-07:00</lastmod>
<lastmod>2024-04-14T15:51:15-07:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/projects/5-digital-analog-pwm/</loc>
<lastmod>2024-04-14T14:59:33-07:00</lastmod>
<lastmod>2024-04-14T15:51:15-07:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/projects/6-transistors/</loc>
<lastmod>2024-04-14T14:59:33-07:00</lastmod>
<lastmod>2024-04-14T15:51:15-07:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/projects/7-serial-communication/</loc>
<lastmod>2024-04-14T14:59:33-07:00</lastmod>
<lastmod>2024-04-14T15:51:15-07:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/projects/8-communication-protocols/</loc>
<lastmod>2024-04-14T14:59:33-07:00</lastmod>
<lastmod>2024-04-14T15:51:15-07:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/projects/9-pid-and-motor-control/</loc>
<lastmod>2024-04-14T14:59:33-07:00</lastmod>
<lastmod>2024-04-14T15:51:15-07:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/555-timer/</loc>
Expand Down

0 comments on commit 6d9f9a0

Please sign in to comment.