I don't know how to solve this issue, people online had pointed out that it may have something to do with baseurl:, typing the name of my site there or leaving it empty doesn't seem to be working. People had also pointed out changing theme on the config.yml to "remote_theme", that also didn't work
Please have a look at my code, any ideas? I wish I had more information in regards to why this happens
Repo: https://github.com/SimonXTest/simonxtest.github.io
You'll know it's the right repo because there should be a broken.txt in the directory
Remote website image:
Local website image:
Try to add to your github workflow the bundle-install
statement. The rubygems (for the theme) are missing.
You don't have the _layout
folder in your source control, so you need to get it from the gems.
In your GitHub Workflow / Action you should do sth. like this.
jobs:
bundler:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
bundler-cache: true
- name: Installing dependencies
run: bundle install
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.