Skip to content

Commit c333119

Browse files
committed
Post
1 parent fa628dd commit c333119

File tree

2 files changed

+37
-51
lines changed

2 files changed

+37
-51
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/jekyll.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master # or your default branch
7+
pull_request:
8+
branches:
9+
- master # or your default branch
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
19+
- name: Set up Ruby
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: '2.7' # or the version you're using
23+
24+
- name: Install dependencies
25+
run: |
26+
gem install jekyll
27+
gem install bundler
28+
bundle install
29+
30+
- name: Build site
31+
run: bundle exec jekyll build
32+
33+
- name: Deploy to GitHub Pages
34+
uses: peaceiris/actions-gh-pages@v3
35+
with:
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
publish_dir: ./_site

0 commit comments

Comments
 (0)