Skip to content

Commit

Permalink
Travis Deploy Script: Add git command to add all new untracked files …
Browse files Browse the repository at this point in the history
…before gh-pages commit (pull w3c#962)

Some generated files, such as the example index file, were not getting included in the commit to gh-pages.
  • Loading branch information
nschonni authored and mcking65 committed Jan 14, 2019
1 parent 1e1f4ff commit 37388d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/travis-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ echo 'Pushing built changes'
git config --global user.email "[email protected]"
git config --global user.name "michael-n-cooper"
git config remote.origin.url "https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git"
git add --all
git commit -am "Generated by TRAVIS-CI ${TRAVIS_COMMIT}" -m "${TRAVIS_COMMIT_MESSAGE}"
git push --set-upstream origin gh-pages > /dev/null 2>&1

0 comments on commit 37388d1

Please sign in to comment.