|
|
|
@ -249,7 +249,6 @@ jobs: |
|
|
|
|
environment: |
|
|
|
|
COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" |
|
|
|
|
COMMIT_AUTHOR: "Circle CI" |
|
|
|
|
FILES_TO_PACKAGE: "dist/apps/remix-ide/index.html dist/apps/remix-ide/404.html dist/apps/remix-ide/*.js dist/apps/remix-ide/assets dist/apps/remix-ide/favicon.ico" |
|
|
|
|
working_directory: ~/remix-project |
|
|
|
|
|
|
|
|
|
parameters: |
|
|
|
@ -261,9 +260,18 @@ jobs: |
|
|
|
|
- attach_workspace: |
|
|
|
|
at: . |
|
|
|
|
- run: unzip ./persist/predeploy.zip |
|
|
|
|
- run: |
|
|
|
|
name: Deploy |
|
|
|
|
command: ./apps/remix-ide/ci/deploy_from_travis_remix-<< parameters.script >>.sh; |
|
|
|
|
- run: | |
|
|
|
|
- SHA=`git rev-parse --short --verify HEAD` |
|
|
|
|
- cd dist/apps/remix-ide |
|
|
|
|
- git init |
|
|
|
|
- git checkout -b gh-pages |
|
|
|
|
- git config user.name "$COMMIT_AUTHOR" |
|
|
|
|
- git config user.email "$COMMIT_AUTHOR_EMAIL" |
|
|
|
|
- zip -r remix-$SHA.zip . |
|
|
|
|
- git add -f . |
|
|
|
|
- git commit -m "Built website from {$SHA}." |
|
|
|
|
- git status |
|
|
|
|
- ls -la |
|
|
|
|
|
|
|
|
|
workflows: |
|
|
|
|
run_flaky_tests: |
|
|
|
@ -365,5 +373,13 @@ workflows: |
|
|
|
|
filters: |
|
|
|
|
branches: |
|
|
|
|
only: remix_beta |
|
|
|
|
- deploy-build: |
|
|
|
|
script: "test" |
|
|
|
|
name: "test" |
|
|
|
|
requires: |
|
|
|
|
- predeploy |
|
|
|
|
filters: |
|
|
|
|
branches: |
|
|
|
|
only: fixdeploy |
|
|
|
|
|
|
|
|
|
# VS Code Extension Version: 1.5.1 |
|
|
|
|