我正在使用 GitLab 托管我的静态页面!每次我配置 .gitlab-ci.yml 文件时,我都会收到以下错误:“无法找到 Gemfile”
这里是 .gitlab-ci.yml 文件的 id
image: ruby:2.3
before_script:
- bundle install
job:
script:
- gem install jekyll
- jekyll build
pages:
stage: deploy
script:
- bundle install
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master
test:
stage: test
script:
- bundle install
- bundle exec jekyll build -d test
artifacts:
paths:
- test
except:
- master