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:
- ./pyodide-env
- ./firefox
- store_artifacts:
path: /home/circleci/repo/build/
test-firefox:
<<: *defaults
steps:
......@@ -111,9 +114,6 @@ jobs:
export PATH=$PWD/firefox:$PATH
pytest test -v -k chrome
- store_artifacts:
path: /home/circleci/repo/build/
deploy:
machine:
enabled: true
......
......@@ -7,7 +7,11 @@ git checkout --orphan tmp
git add *
git config --global user.email "deploybot@nowhere.com"
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 reset --hard tmp
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