We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3621060 commit f8b90e6Copy full SHA for f8b90e6
1 file changed
.github/workflows/build_jekyll.yml
@@ -0,0 +1,36 @@
1
+name: Deploy Jekyll site to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+permissions:
9
+ contents: write # needed to push to gh-pages
10
11
+jobs:
12
+ build-and-deploy:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout source
17
+ uses: actions/checkout@v4
18
19
+ - name: Setup Ruby
20
+ uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: '3.1' # pick a stable Ruby version
23
+ bundler-cache: true
24
25
+ - name: Install dependencies
26
+ run: bundle install --jobs 4 --retry 3
27
28
+ - name: Build Jekyll site
29
+ run: bundle exec jekyll build
30
31
+ - name: Deploy to gh-pages
32
+ uses: peaceiris/actions-gh-pages@v4
33
34
+ github_token: ${{ secrets.GITHUB_TOKEN }}
35
+ publish_dir: ./_site
36
+ publish_branch: gh-pages
0 commit comments