File tree Expand file tree Collapse file tree 2 files changed +37
-51
lines changed
Expand file tree Collapse file tree 2 files changed +37
-51
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments