构建时使用 JEKYLL_ENV=production 环境变量 (#264)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
neveler 2025-10-03 12:44:00 +08:00 committed by GitHub
parent 9820df0db0
commit b67062aee9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,8 @@ clone:
steps: steps:
- name: build - name: build
image: jekyll/jekyll:4.2.2 image: jekyll/jekyll:4.2.2
environment:
JEKYLL_ENV: production
commands: commands:
- touch Gemfile.lock - touch Gemfile.lock
- chmod a+w Gemfile.lock - chmod a+w Gemfile.lock