Skip to content
Snippets Groups Projects
Commit eb8e9b8d authored by Kwangjin Lee's avatar Kwangjin Lee
Browse files

Update .gitlab-ci.yml file

parent b975ab35
No related branches found
No related tags found
1 merge request!3Main
Pipeline #244985 failed
......@@ -14,11 +14,17 @@ 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:
- JEKYLL_ENV=production bundle exec jekyll build --config _config.yml --destination public
- >
if [ "$CI_COMMIT_BRANCH" = "publish" ]; then
./build_page.sh "/2024/" true
else
./build_page.sh "/2024/draft/" false
fi
- echo "Listing contents of public directory:"
- ls -laR public
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment