~xdavidwu/xdavidwu.link

ref: a0e1721bf9ac935de38a7c6f048e04e0dc9fdbe7 xdavidwu.link/.builds/https.yml -rw-r--r-- 853 bytes
a0e1721bxdavidwu builds: https: install jekyll executable 6 months ago
                                                                                
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
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
  - npm
  - ruby-bundler
  - jekyll
  - ruby-rake
  - ruby-dev
  - make
  - gcc
  - musl-dev
  - g++
  - hut
secrets:
  - 6d48e21f-999e-4b3f-b3db-71a77927cc62
tasks:
  - npm: |
      cd xdavidwu.link
      npm ci
      npm run copy-vendor
  - jekyll: |
      cd xdavidwu.link
      bundle install -j $(nproc)
      bundle exec rougify style base16.solarized.dark | sed 's/002b36/202124/g' >> _sass/minimal-mistakes/skins/_custom.scss
      bundle exec rougify style base16.solarized.light >> _sass/minimal-mistakes/skins/_custom-light.scss
      set +x
      export MATRIX_ACCESS_TOKEN=$(cat ~/.matrix_access_token)
      set -x
      bundle exec jekyll build
  - pack: |
      tar -C xdavidwu.link/_site -cvz . > https.tar.gz
  - publish: |
      hut pages publish https.tar.gz -d xdavidwu.link