Skip to content

Add new post, update site header, and fix styling issues #93

Add new post, update site header, and fix styling issues

Add new post, update site header, and fix styling issues #93

Workflow file for this run

# 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.
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to "_site" branch on GitHub Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
paths:
- "_site/**" # Runs only when there are changes in the 'site' directory
pull_request:
branches: ["main"]
paths:
- "_site/**"
# 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: write
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout main branch
uses: actions/checkout@v4
with:
ref: "main"
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0' # Specify the Ruby version you are using
- name: Install dependencies
run: bundle install
- name: Build Jekyll site
run: bundle exec jekyll build
- name: Upload _site for deployment
uses: actions/upload-artifact@v2
with:
name: _site
path: _site
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout main branch
uses: actions/checkout@v4
with:
ref: "main"
- name: Download _site
uses: actions/download-artifact@v2
with:
name: _site
path: _site
- name: Deploy to GitHub Pages
uses: jeffreytse/[email protected]
with:
provider: "github"
token: ${{ secrets.GITHUB_TOKEN }}
repository: ""
branch: "_site"
jekyll_src: "./"
jekyll_cfg: "_config.yml"
jekyll_baseurl: "/2nd-Minima"
bundler_ver: '<= 2.4.22'