1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 13:44:15 +00:00

Move the CI to Github Actions.

This commit is contained in:
Cotes Chung
2020-01-22 03:05:06 +08:00
parent 47a32fcce3
commit c30bfd5649
5 changed files with 88 additions and 25 deletions

View File

@@ -1,22 +0,0 @@
#!/bin/bash
# Travis CI build jobs.
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy
# © 2019 Cotes Chung
# Published under MIT License
if [[ $TRAVIS_PULL_REQUEST = "false" ]]; then # triggered by author
git clone https://${GH_PAT}@github.com/${GH_USER}/${BUILDER_REPO}.git \
../${BUILDER_REPO} --depth=1 -q
cp -r ../${BUILDER_REPO}/framework/* .
bash _cibuild.sh
else # triggered by Pull Request
bash tools/build.sh
bash tools/test.sh
fi