Skip to content

Commit ab098cb

Browse files
committed
circleci ignore fix
1 parent 05f0c13 commit ab098cb

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.circleci/config.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ orbs:
44
python: circleci/python@0.2.1
55

66
workflows:
7+
version: 2
78
build_and_deploy:
89
jobs:
910
- build:
1011
filters:
1112
branches:
12-
ignore:
13-
- gh-pages
14-
13+
only: master
1514
jobs:
1615
build:
1716
docker:
@@ -48,21 +47,17 @@ jobs:
4847
- ./venv
4948
key: v1-dependencies-{{ checksum "requirements.txt" }}
5049

51-
# run tests!
52-
# this example uses Django's built-in test-runner
53-
# other common Python testing frameworks include pytest and nose
54-
# https://pytest.org
55-
# https://nose.readthedocs.io
5650
- deploy:
5751
name: "Deploy docs"
5852
command: |
5953
git clone --branch=master --depth=1 "https://$USER_NAME:$GITHUB_TOKEN@github.com/tasmota/$CIRCLE_PROJECT_REPONAME.git" deploy && cd deploy
6054
git clone --branch=gh-pages --depth=1 "https://$USER_NAME:$GITHUB_TOKEN@github.com/tasmota/$CIRCLE_PROJECT_REPONAME.git" site
6155
. ../venv/bin/activate
6256
mkdocs build
57+
cp -r .circleci site/.circleci
6358
cd site
6459
git config user.name "$USER_NAME"
6560
git config user.email "$USER_EMAIL"
6661
git add --all
67-
git commit -m "[ci skip] Deploy $CIRCLE_BUILD_NUM from CircleCI"
62+
git commit -m "[ci skip] CircleCI deploy $CIRCLE_BUILD_NUM"
6863
git push origin gh-pages

0 commit comments

Comments
 (0)