-
-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aff1c83
commit a5b17a6
Showing
9 changed files
with
68 additions
and
31,213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
version: 2 | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: cypress/base:8 | ||
|
||
branches: | ||
ignore: | ||
- gh-pages | ||
|
||
steps: | ||
- checkout | ||
|
||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }}-{{ checksum "circle.yml" }} | ||
|
||
- run: | ||
name: Installing dependencies | ||
command: npm install | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
- ~/.cache | ||
key: v1-dependencies-{{ checksum "package.json" }}-{{ checksum "circle.yml" }} | ||
|
||
- run: | ||
name: Build demo | ||
command: sh demo.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env sh | ||
|
||
# abort on errors | ||
set -e | ||
|
||
# build | ||
NODE_ENV=demo npm run build | ||
|
||
# Copy circle CI configuration to prevent running from gh-pages | ||
cp ../circle.yml ./ | ||
|
||
# navigate into the build output directory | ||
cd docs | ||
|
||
git config --global user.email "$GH_EMAIL" > /dev/null 2>&1 | ||
git config --global user.name "$GH_NAME" > /dev/null 2>&1 | ||
|
||
git init | ||
git add -A | ||
git commit -m "Deploy" | ||
|
||
git push -f git@github.com:EducationLink/vue-tel-input.git master:gh-pages | ||
|
||
cd - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.