Skip to content

Commit

Permalink
Update jekyll-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nair0lf32 authored Nov 14, 2024
1 parent 949df67 commit 4730727
Showing 1 changed file with 5 additions and 34 deletions.
39 changes: 5 additions & 34 deletions .github/workflows/jekyll-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,5 @@
name: Deploy Jekyll Site

on:
push:
branches:
- mastaer

jobs:
build-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0

- name: Install dependencies
run: |
bundle config set path 'vendor/bundle'
bundle install
- name: Build Jekyll site
run: bundle exec jekyll build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages
- name: jekyll-deploy-gh-pages
# You may pin to the exact commit or the version.
# uses: BryanSchuetz/jekyll-deploy-gh-pages@c65ae23c7f03c25370004f16cba53110df1a4da4
uses: BryanSchuetz/jekyll-deploy-gh-pages@v2.0

0 comments on commit 4730727

Please sign in to comment.