Update Gemfile.lock and site styles #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |