Skip to content

Commit

Permalink
fix(travis): fix gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorn Walli committed Feb 22, 2020
1 parent 8f9fba2 commit 4615d37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
- if [ -z "$TRAVIS_PULL_REQUEST_SHA" ]; then export PT_COMMIT=$TRAVIS_COMMIT; else export PT_COMMIT=$TRAVIS_PULL_REQUEST_SHA; fi
# - echo $PT_COMMIT
# - echo $PT_BRANCH
- npm run build --base=/nuxt-custom-elements/
- npm run build --base=/nuxt-font-loader-strategy/
- stage: deploy
if: branch = master
install:
- npm i semantic-release @semantic-release/exec @semantic-release/git @semantic-release/changelog --no-save
script:
- npx semantic-release --provider=github
- mkdir gh-pages gh-pages/reports
- cp -R dist/nuxt-custom-elements/* gh-pages/
- cp -R dist/* gh-pages/
- cp -R reports/* gh-pages/reports/
- touch gh-pages/.nojekyll
deploy:
Expand Down

0 comments on commit 4615d37

Please sign in to comment.