-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1.06 KB
/
github-pages.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
name: Build to gh-pages
on:
push:
branches:
- master
jobs:
github-pages:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- uses: actions/setup-node@v3
with:
node-version: 22.2
- name: yarn install
run: |
yarn install --frozen-lockfile
- name: Install PlantUML and libvips
env:
PLANTUML_JAR: https://github.com/plantuml/plantuml/releases/download/v1.2023.13/plantuml-1.2023.13.jar
run: |
sudo apt-get update -y
sudo apt-get install -y plantuml libvips
wget $PLANTUML_JAR -O plantuml.jar
sudo mv plantuml.jar /usr/share/plantuml/plantuml.jar
- name: Build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
format_output: true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site