Hugo Plugin Workaround

I’m trying to use GitHub - drone-plugins/drone-hugo: Drone plugin to publish Hugo generated websites plugin to publish a Hugo based website. It’s a bit dated and my attempt to get the plugin to update and docker issues made me put that on hold for now. I was trying to find a work around so this is my attempt for now.

kind: pipeline
name: documentation

  - name: Submodule sync
    image: alpine/git
      - "git submodule update --init"
  - name: build
    image: plugins/hugo:latest
      extended: true
      - cd website
      - "hugo version"
      - "apk add --update nghttp2-dev nodejs nodejs-npm npm wget"
      - npm install
      - npm install postcss-cli
      - wget ""
      - tar xvfz hugo_extended_0.91.0_Linux-64bit.tar.gz hugo
      - "./hugo --destination public --baseURL"
  - name: publish
    image: plugins/gh-pages
      pages_directory: public
      upstream_name: origin
      target_branch: gh-pages
      force_push: true
      delete: true
        from_secret: gh_username
        from_secret: gh_password
        branch: master
        event: push

    - master
    - tag
    - push

I need npm and other crud for docsy. When I run this locally using:

drone exec

Everything works fine (except I don’t have permission to push so it breaks at that point )

When I try to run it in the cloud version I keep getting this issue:

Error: Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): SCSS processing failed: file "stdin", line 6, col 1: File to import not found or unreadable: ../vendor/bootstrap/scss/bootstrap. 

usually that error is due to the fact that hugo-extended isn’t being used. Any ideas what could be going on here? Any reason why local invoke works fine but cloud doesn’t?

Build log is here

Sorry that was dumb, the issue was with submodules.

"git submodule update --init --recursive"

That’s all i needed instead of:

"git submodule update --init "