Skip to content

barrabat/.travis.yml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deploy: provider: releases api_key: "GITHUB OAUTH TOKEN" file: "FILE TO UPLOAD" skip_cleanup: true on: tags: true

deploy: provider: releases api_key: "GITHUB OAUTH TOKEN" file: "FILE TO UPLOAD" skip_cleanup: true draft: true

before_deploy:

Set up git user name and tag this commit

  • git config --local user.name "YOUR GIT USER NAME"
  • git config --local user.email "YOUR GIT USER EMAIL"
  • export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
  • git tag $TRAVIS_TAG

deploy: provider: releases api_key: "GITHUB OAUTH TOKEN" file: "FILE TO UPLOAD" skip_cleanup: true

deploy: provider: releases api_key: secure: YOUR_API_KEY_ENCRYPTED file: "FILE TO UPLOAD" skip_cleanup: true on: tags: trueenv: global:

  • OCTOKIT_API_ENDPOINT="GITHUB ENTERPRISE API ENDPOINT"