~xdavidwu/xdavidwu.link

ref: 2666f080a723f61c0cfb154eb9bc35e0d413d4c9 xdavidwu.link/.builds/https.yml -rw-r--r-- 858 bytes
2666f080xdavidwu build: https: add missing deps 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
  - ruby-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