diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 638c183d567e18958f531e4549106c5be58ed1b0..8e85e76fd645190388d86c238f545be6b2e5215e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,17 +14,11 @@ cache: before_script: - bundle config set --local path 'vendor/bundle' - bundle install - - apt-get update && apt-get install -y yq build-page: stage: build script: - - > - if [ "$CI_COMMIT_BRANCH" = "publish" ]; then - ./build_page.sh "/2024/" true - else - ./build_page.sh "/2024/draft/" false - fi + - JEKYLL_ENV=production bundle exec jekyll build --config _config.yml --destination public - echo "Listing contents of public directory:" - ls -laR public artifacts: