diff --git a/.circleci/config.yml b/.circleci/config.yml index 395b073..f6478ba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,3 +1,6 @@ +# Deployment is configured following these instructions: +# https://circleci.com/blog/deploying-documentation-to-github-pages-with-continuous-integration/ + version: 2 jobs: @@ -85,12 +88,12 @@ workflows: ignore: - gh-pages - build: + requires: + - test filters: branches: ignore: - gh-pages - requires: - - test - deploy: requires: - build diff --git a/package.json b/package.json index fb2d9ee..d05dea2 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build": "mkdir -p public; rm -r public/*; run-p copy:* build:*", "copy:assets": "cp -R src/assets/* public/", "copy:icons": "cp -R node_modules/open-iconic/font/fonts public", - "deploy": "gh-pages -d public -m \"Deploying $(git rev-parse --short HEAD)\"", + "deploy": "gh-pages -d public -m \"[skip ci] Deploying $(git rev-parse --short HEAD)\"", "dev:cljs": "shadow-cljs watch app test", "dev:sass": "node-sass -w src/sass/app.sass -o public/app", "dev:test": "karma start --reporters notify,progress --auto-watch",