-
Notifications
You must be signed in to change notification settings - Fork 115
50 lines (42 loc) · 1.16 KB
/
jekyll.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
44
45
46
47
48
49
50
name: Build site
on:
push:
branches:
- source
pull_request:
branches:
- source
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- name: Fix git pull
run: git config --global url."https://".insteadOf git://
- name: 📂 setup
uses: actions/checkout@v2
- name: 💎 setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.3
bundler-cache: true
- name: 🔨 install dependencies & build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
- name: Build report
run: |
bundle exec ./bin/report_generator.rb
tar zcvf report.tar.gz latex_out
- name: Uploading artifacts
uses: actions/upload-artifact@v3
with:
name: report sources
path: |
report.tar.gz
- name: 🚀 deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: master