mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Refactor: Move build commands into a new travis-build.sh
This commit is contained in:
@@ -8,10 +8,7 @@ install:
|
||||
- wget https://github.com/spf13/hugo/releases/download/v0.16/hugo_0.16_linux-64bit.tgz
|
||||
- tar xf hugo_0.16_linux-64bit.tgz
|
||||
|
||||
script:
|
||||
- git clone https://github.com/phil-opp/blog_os.git
|
||||
- cp -r blog_os/blog ../blog
|
||||
- ./hugo
|
||||
script: bash ci/travis-build.sh
|
||||
|
||||
after_success: bash ci/travis-blog-update.sh
|
||||
|
||||
|
||||
7
ci/travis-build.sh
Normal file
7
ci/travis-build.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
git clone https://github.com/phil-opp/blog_os.git
|
||||
cp -r blog_os/blog ../blog
|
||||
./hugo
|
||||
Reference in New Issue
Block a user