hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

config.yml (1209B)

    1 defaults: &defaults
    2   docker:
    3       - image: bepsays/ci-goreleaser:1.1800.300
    4   environment:
    5     CGO_ENABLED: "0"
    6 
    7 version: 2
    8 jobs:
    9   build:
   10     <<: *defaults
   11     steps:
   12       - checkout:
   13           path: hugo
   14       - run:
   15             command: |
   16                 git clone git@github.com:gohugoio/hugoDocs.git
   17                 cd hugo
   18                 go mod download
   19                 sleep 5
   20                 go mod verify
   21       - persist_to_workspace:
   22           root: .
   23           paths: .
   24   release:
   25     <<: *defaults
   26     steps:
   27       - attach_workspace:
   28           at: /root/project
   29       - run:
   30             command: |
   31                     cd hugo
   32                     git config --global user.email "bjorn.erik.pedersen+hugoreleaser@gmail.com"
   33                     git config --global user.name "hugoreleaser"
   34                     go run -tags release main.go release -r ${CIRCLE_BRANCH}
   35 
   36 workflows:
   37   version: 2
   38   release:
   39       jobs:  
   40         - build:
   41             filters:
   42               branches:
   43                 only: /release-.*/
   44         - hold:
   45             type: approval
   46             requires:
   47               - build
   48         - release:
   49             context: org-global
   50             requires:
   51               - hold