Skip to content

Update site header styles and add dynamic visibility for sticky header #77

Update site header styles and add dynamic visibility for sticky header

Update site header styles and add dynamic visibility for sticky header #77

Workflow file for this run

name: Deploy Jekyll site to "_site" branch on GitHub Pages
on:
push:
branches: ["main"]
paths-ignore:
- "_site/**"
pull_request:
branches: ["main"]
paths-ignore:
- "_site/**"
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Ruby 3.0
run: |
sudo apt-get update
sudo apt-get install -y ruby-full
sudo gem install bundler -v 2.5.4
- name: Print Ruby and Bundler version
run: |
ruby -v
bundler -v
- name: Build Jekyll site
run: |
bundle install
bundle exec jekyll build
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Ruby 3.0
run: |
sudo apt-get update
sudo apt-get install -y ruby-full
sudo gem install bundler -v 2.5.4
- 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"