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

Update .gitlab-ci.yml file

parent eb8e9b8d
No related branches found
No related tags found
1 merge request!3Main
Pipeline #244987 passed
......@@ -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:
......
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