Skip to content

Commit

Permalink
fix(ci): add missing update on git submodules in deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Sardone authored Aug 8, 2022
1 parent b2c5b65 commit b81746e
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,28 @@ jobs:
command: "apk update"

- run:
name: "Update npm"
command: "npm install -g npm"

name: "Install Git"
command: "apk add git"
- run:
name: "Install Netlify CLI"
command: "npm install -g netlify-cli"
name: "Update Git Submodules"
command: "git submodule update --init --recursive"

- run:
name: "Install Hugo"
command: "apk add hugo"

- run:
name: "Building Site"
command: "HUGO_ENV=production hugo --gc --minify"

- run:
name: "Update npm"
command: "npm install -g npm"

- run:
name: "Install Netlify CLI"
command: "npm install -g netlify-cli"

- run:
name: "Deploy To Netlify"
Expand Down

0 comments on commit b81746e

Please sign in to comment.