-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch master # Your branch is up to date with 'origin/master'. # # Changes to be committed: # modified: .circleci/config.yml # modified: package.json #
- Loading branch information
Eric RENARD
committed
Jul 23, 2019
1 parent
53d7d01
commit fdd2efb
Showing
2 changed files
with
13 additions
and
12 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 |
---|---|---|
|
@@ -29,22 +29,24 @@ jobs: | |
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
# run tests! | ||
# Test | ||
- run: npm run test:unit | ||
- run: git config --global -l #<= totally unnecessary, but "fixes" problem? | ||
- run: git config --global user.email circleci@circleci | ||
- run: git config --global user.name CircleCI | ||
# Build | ||
- run: npm run build | ||
# Deploy | ||
- add_ssh_keys: | ||
fingerprints: | ||
- "00:4f:8a:aa:1c:9e:03:b5:d5:44:69:71:53:31:f3:8b" | ||
- run: npm run build | ||
- run: cp -R .circleci dist | ||
- run: | ||
- run: | ||
name: Prevent building the gh-pages branche | ||
command: cp -R .circleci dist | ||
- run: | ||
working_directory: ~/erenard/reversi/dist | ||
command: | | ||
git config --global -l | ||
git config --global user.email circleci@circleci | ||
git config --global user.name CircleCI | ||
git init | ||
git add --all | ||
git commit -m "Release at $(date)" | ||
# - run: | ||
# command: git push -f [email protected]:erenard/reversi.git master:gh-pages | ||
# working_directory: ~/erenard/reversi/dist | ||
git push -f [email protected]:erenard/reversi.git master:gh-pages |
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 |
---|---|---|
|
@@ -6,8 +6,7 @@ | |
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint", | ||
"test:unit": "vue-cli-service test:unit", | ||
"deploy": "cd dist && git init && git add --all && git commit -m \"Release at $(date)\" && git push -f [email protected]:erenard/reversi.git master:gh-pages" | ||
"test:unit": "vue-cli-service test:unit" | ||
}, | ||
"dependencies": { | ||
"core-js": "^2.6.9", | ||
|