[Solved] Github and Netlify deployment won't sync

Hi everyone,

I tried to set up my Hugo blog with Hyde theme deployed on Netlify.
It works just fine in local with “hugo server” command but when I tried to push it to my Github repo it won’t even render the theme I am currently using at the Netlify site.

I’ve tried to change the baseURL at the config.toml like the one told at this thread but it still won’t work.

Also, the deployment log is not showing any error.
5:10:09 PM: Build ready to start
5:10:11 PM: Fetching cached dependencies
5:10:11 PM: Starting to download cache of 57.4MB
5:10:11 PM: Finished downloading cache in 575.485883ms
5:10:11 PM: Starting to extract cache
5:10:12 PM: Finished extracting cache in 1.128770118s
5:10:12 PM: Finished fetching cache in 1.763177959s
5:10:12 PM: Starting to prepare the repo for build
5:10:13 PM: Preparing Git Reference refs/heads/master
5:10:14 PM: Starting build script
5:10:15 PM: Installing dependencies
5:10:16 PM: Started restoring cached node version
5:10:18 PM: Finished restoring cached node version
5:10:19 PM: v8.11.3 is already installed.
5:10:20 PM: Now using node v8.11.3 (npm v5.6.0)
5:10:20 PM: Attempting ruby version 2.3.6, read from environment
5:10:21 PM: Using ruby version 2.3.6
5:10:21 PM: Using PHP version 5.6
5:10:21 PM: Installing Hugo 0.43
5:10:21 PM: Started restoring cached go cache
5:10:21 PM: Finished restoring cached go cache
5:10:21 PM: unset GOOS;
5:10:21 PM: unset GOARCH;
5:10:21 PM: export GOROOT=’/opt/buildhome/.gimme/versions/go1.10.linux.amd64’;
5:10:21 PM: export PATH="/opt/buildhome/.gimme/versions/go1.10.linux.amd64/bin:${PATH}";
5:10:21 PM: go version >&2;
5:10:21 PM: export GIMME_ENV=’/opt/buildhome/.gimme/env/go1.10.linux.amd64.env’;
5:10:21 PM: go version go1.10 linux/amd64
5:10:21 PM: Installing missing commands
5:10:21 PM: Verify run directory
5:10:21 PM: Executing user command: hugo
5:10:21 PM: Building sites …
5:10:21 PM:

5:10:21 PM:                    | EN
5:10:21 PM: +------------------+----+
5:10:21 PM:   Pages            |  7
5:10:22 PM:   Paginator pages  |  0
5:10:22 PM:   Non-page files   |  0
5:10:22 PM:   Static files     |  6
5:10:22 PM:   Processed images |  0
5:10:22 PM:   Aliases          |  0
5:10:22 PM:   Sitemaps         |  1
5:10:22 PM:   Cleaned          |  0
5:10:22 PM: Total in 4 ms
5:10:22 PM: Caching artifacts
5:10:22 PM: Started saving pip cache
5:10:22 PM: Finished saving pip cache
5:10:22 PM: Started saving emacs cask dependencies
5:10:22 PM: Finished saving emacs cask dependencies
5:10:22 PM: Started saving maven dependencies
5:10:22 PM: Finished saving maven dependencies
5:10:22 PM: Started saving boot dependencies
5:10:22 PM: Finished saving boot dependencies
5:10:22 PM: Started saving go dependencies
5:10:22 PM: Finished saving go dependencies
5:10:22 PM: Build script success
5:10:22 PM: Starting to deploy site from 'public'
5:10:22 PM: Starting post processing
5:10:23 PM: Post processing done
5:10:23 PM: Site is live
5:10:29 PM: Finished processing build request in 18.730494453s

Any help is much appreciated. Thank you very much :slightly_smiling_face:.

Turns out that I should put slash (/) at the end of the baseUrl at the toml file so that the path to the css when it’s already built can be accessed.

Thank you everyone.