Skip to content

Commit

Permalink
Merge pull request #4983 from camptocamp/publish
Browse files Browse the repository at this point in the history
Fix publish on master branch
  • Loading branch information
sbrunner authored Jun 6, 2019
2 parents 6b336b3 + 09dd84c commit 0809577
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,12 @@ jobs:
- run: ci/test-upgrade 25 ${HOME}/workspace
- run: ci/test-upgrade cleanup ${HOME}/workspace

deploy-nonmain:
publish-nonmain:
environment: *environment
machine: true
steps:
- run: *python
- checkout
- run: python3 -m pip install --user --requirement=ci/requirements.txt
- run: &init-git
name: Init Git
command: |
Expand Down Expand Up @@ -197,11 +196,11 @@ jobs:
docker tag camptocamp/geomapfish-geoportal:${MAJOR_VERSION} camptocamp/geomapfish-geoportal
ci/publish
deploy:
publish:
environment: *environment
docker:
- image: circleci/python:3.7
machine: true
steps:
- run: *python
- checkout
- run: *init-git
- deploy: *publish-docker-pip
Expand All @@ -225,7 +224,7 @@ workflows:
jobs:
- main
- test-app-upgrade
- deploy:
- publish:
filters:
branches:
only: &main-branches
Expand All @@ -234,7 +233,7 @@ workflows:
requires:
- main
- test-app-upgrade
- deploy-nonmain:
- publish-nonmain:
filters:
branches:
ignore: *main-branches
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
codespell==1.14.0 # Lint
yamllint==1.15.0 # lint
netifaces==0.10.9
netifaces==0.10.9 # docker-run to create the project version 2.4

0 comments on commit 0809577

Please sign in to comment.