mirror of https://github.com/pyodide/pyodide.git
Tag commits deployed on Circle CI and store artefacts in build
This commit is contained in:
parent
c36a044a03
commit
d574047a4d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue