Commit d574047a authored by Roman Yurchak's avatar Roman Yurchak

Tag commits deployed on Circle CI and store artefacts in build

parent c36a044a
...@@ -77,6 +77,9 @@ jobs: ...@@ -77,6 +77,9 @@ jobs:
- ./pyodide-env - ./pyodide-env
- ./firefox - ./firefox
- store_artifacts:
path: /home/circleci/repo/build/
test-firefox: test-firefox:
<<: *defaults <<: *defaults
steps: steps:
...@@ -111,9 +114,6 @@ jobs: ...@@ -111,9 +114,6 @@ jobs:
export PATH=$PWD/firefox:$PATH export PATH=$PWD/firefox:$PATH
pytest test -v -k chrome pytest test -v -k chrome
- store_artifacts:
path: /home/circleci/repo/build/
deploy: deploy:
machine: machine:
enabled: true enabled: true
......
...@@ -7,7 +7,11 @@ git checkout --orphan tmp ...@@ -7,7 +7,11 @@ git checkout --orphan tmp
git add * git add *
git config --global user.email "deploybot@nowhere.com" git config --global user.email "deploybot@nowhere.com"
git config --global user.name "Deploybot" git config --global user.name "Deploybot"
git commit -m "Deployed from Circle-CI $CIRCLE_BUILD_NUM" git commit -m << END
Deployed from Circle-CI $CIRCLE_BUILD_NUM"
Version $(git describe --tags --always)
END
git checkout master git checkout master
git reset --hard tmp git reset --hard tmp
git push origin -f master git push origin -f master
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment