diff --git a/.circleci/config.yml b/.circleci/config.yml index fc5ef34..2b932e3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -97,8 +97,8 @@ jobs: # Same as "publishDocs" but will set an alias afterwards "publishDocsWithAlias": - machine: - image: circleci/classic:latest + docker: + - image: alpine:3.9 steps: - checkout @@ -108,7 +108,14 @@ jobs: key: gradle-cache-v0-{{ checksum "build.gradle.kts" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }} # First install now - - run: npm install -g now + - run: apk update + - run: apk add wget + - run: wget -q https://github.com/zeit/now-cli/releases/download/13.1.3/now-alpine.gz + - run: apk add gunzip + - run: gunzip now-alpine.gz + - run: mv now-alpine /usr/local/bin/now + + # Then publish it - run: ./gradlew publishDocsToNow --zeitToken=$NOW_TOKEN createNowAlias --zeitToken=$NOW_TOKEN workflows: