Skip to content

Commit

Permalink
update filters
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Mar 26, 2020
1 parent 40e32f3 commit 310ca25
Showing 1 changed file with 25 additions and 20 deletions.
45 changes: 25 additions & 20 deletions .circleci/config.yml
@@ -1,30 +1,35 @@
version: 2.1

orbs:
mirci: libmir/upload_docs@0.0.0
mirci: libmir/upload_docs@0.0.0

jobs:
build:
docker:
- image: libmir/circle-dlang
steps:
- checkout
- run: cp -r /docgen docgen && cp -r /web web
- run: meson build --default-library=static -D with_test=true -D with_doc=true
- run: ninja -C build test -j1
- mirci/persist_docs:
from: web
build:
docker:
- image: libmir/circle-dlang
steps:
- checkout
- run: cp -r /docgen docgen && cp -r /web web
- run: meson build --default-library=static -D with_test=true -D with_doc=true
- run: ninja -C build test -j1
- mirci/persist_docs:
from: web

workflows:
version: 2
build-deploy:
version: 2
build-deploy:
jobs:
- build
- build:
filters:
tags:
only: /^v(\d)+(\.(\d)+)+$/
- mirci/upload_docs_job:
from: web
to: mir-algorithm.libmir.org
requires:
- build
filters:
from: web
to: mir-algorithm.libmir.org
requires:
- build
filters:
branches:
only: master
only: master
tags:
only: /^v(\d)+(\.(\d)+)+$/

0 comments on commit 310ca25

Please sign in to comment.