Skip to content

Commit b0ffd26

Browse files
committed
Clean up the discarded shell scripts
1 parent add6bf1 commit b0ffd26

File tree

10 files changed

+40
-676
lines changed

10 files changed

+40
-676
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,6 @@ jobs:
2929
with:
3030
ruby-version: '2.6.x'
3131

32-
- name: Install tools (for Ubuntu)
33-
if: matrix.os == 'ubuntu-latest'
34-
run: |
35-
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CC86BB64
36-
sudo add-apt-repository ppa:rmescandon/yq
37-
sudo apt update
38-
sudo apt install yq -y
39-
40-
- name: Install tools (for macOS)
41-
if: matrix.os == 'macos-latest'
42-
run: |
43-
brew install coreutils
44-
brew install yq
45-
4632
- name: Checkout
4733
uses: actions/checkout@v2
4834
with:
@@ -73,7 +59,7 @@ jobs:
7359
7460
- name: Build Site
7561
run: |
76-
bash tools/build.sh
62+
JEKYLL_ENV=production bundle exec jekyll b
7763
7864
- name: Test Site
7965
run: |

.github/workflows/pages-deploy.yml.hook

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@ jobs:
2121
with:
2222
ruby-version: 2.6.x
2323

24-
- name: Install tools
25-
run: |
26-
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CC86BB64
27-
sudo add-apt-repository ppa:rmescandon/yq
28-
sudo apt update
29-
sudo apt install yq -y
30-
3124
- name: Checkout
3225
uses: actions/checkout@v2
3326
with:
@@ -58,19 +51,19 @@ jobs:
5851

5952
- name: Check baseurl
6053
run: |
61-
baseurl="$(grep '^baseurl:' _config.yml | yq r - baseurl)"
54+
baseurl="$(grep '^baseurl:' _config.yml | sed "s/.*: *//;s/['\"]//g;s/#.*//")"
6255
if [[ -n $baseurl ]]; then
6356
echo "SPEC_TEST=_site_no_baseurl" >> $GITHUB_ENV
6457
fi
6558

6659
- name: Build Site
6760
run: |
68-
bash tools/build.sh
61+
JEKYLL_ENV=production bundle exec jekyll b
6962

7063
if [[ -n $SPEC_TEST ]]; then
7164
# Bypass the defects of htmlproofer
72-
bash tools/build.sh -b "" -d "$SPEC_TEST"
73-
fi
65+
JEKYLL_ENV=production bundle exec jekyll b -b "" -d "$SPEC_TEST"
66+
fi
7467

7568
- name: Test Site
7669
run: |

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ install:
1212

1313
addons:
1414
apt:
15-
sources:
16-
- sourceline: "ppa:rmescandon/yq"
1715
packages:
1816
- libcurl4-openssl-dev # required to avoid SSL error (for htmlproofer)
19-
- yq
2017

2118
script:
2219
- git -C "$HOME" clone "$BUILDER_REPO" --depth=1 -q

_scripts/sh/create_pages.sh

Lines changed: 0 additions & 159 deletions
This file was deleted.

_scripts/sh/dump_lastmod.sh

Lines changed: 0 additions & 88 deletions
This file was deleted.

_scripts/sh/sync_monitor.sh

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)