-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 936 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
name: publish
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
# Following the README
- name: Install python dependencies
run: pip install bibble
- name: Build
id: build
run: make
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: success()
with:
allow_empty_commit: false
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: publish
publish_dir: _site
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"