commit 7d3bff16794c58884aa7d9bee75af46d5bb0a6b2 from: Bradley Taunt date: Mon Jul 15 12:29:27 2024 UTC Test build changes commit - a06f25576d2aefacb32c11e9445b5095a2d5e9c9 commit + 7d3bff16794c58884aa7d9bee75af46d5bb0a6b2 blob - 9fd55ccba0634657c3713e487200a28dacffaae7 blob + 18aa7e5310f25fe1b093a968f44ceecf5e38fa87 --- .build.yml +++ .build.yml @@ -13,11 +13,17 @@ tasks: - install-bundler: | sudo gem install bundler - build: | - cd 1kb-club - sudo bundle install - sudo bundle exec jekyll build + - if [ "$SRHT_BRANCH" = "deploy" ]; then + cd 1kb-club + sudo bundle install + sudo bundle exec jekyll build + fi - package: | - cd 1kb-club/_site - tar -cvz . > ../../site.tar.gz + - if [ "$SRHT_BRANCH" = "deploy" ]; then + cd 1kb-club/_site + tar -cvz . > ../../site.tar.gz + fi - upload: | - hut pages publish -d 1kb.club site.tar.gz \ No newline at end of file + - if [ "$SRHT_BRANCH" = "deploy" ]; then + hut pages publish -d 1kb.club site.tar.gz + fi \ No newline at end of file