forked from sfc-gh-eraigosa/WEB1066-probot-hello
-
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.
- Loading branch information
Showing
2 changed files
with
21 additions
and
8 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 |
---|---|---|
@@ -1,15 +1,16 @@ | ||
sudo: require | ||
services: | ||
- docker | ||
- docker | ||
before_install: | ||
- docker pull node:8-onbuild | ||
|
||
- docker pull node:8-onbuild | ||
install: | ||
- docker build -t probot-hello . | ||
|
||
- docker build -t probot-hello . | ||
script: | ||
- docker run --rm probot-hello npm run test | ||
- docker run --rm probot-hello npm run lint | ||
|
||
- docker run --rm probot-hello npm run test | ||
- docker run --rm probot-hello npm run lint | ||
deploy: | ||
provider: heroku | ||
api_key: | ||
secure: invKD1raBkxaTEi7blx/RIJL9zoTkprXc0b3sEh8Q0MJDX2Whmkq5bwSdjTKQe3pjsRRuehPd37de7gGYJJnSdnc7UrQaNdJi50HFCD/Tg7XcLVuLgVTis/mn4sMv+b3wAiW32j840I4OFOt5MsTV0UdCiUkMsCcc67XIYxc3yIvfWVoJSpLBUsCfC7Xh11is9MZgFS5InDzpWuiHb7ogfiRCodbpevR5xYAd+rRzBJAzI88anZXldA5mabuyx+GqwHEEO85Etr4LQWAGxlW8w+B55KZdgHxewp1mANPBS4Jglrn+H34uZhmDL9Ng/yMBCPtqp89CwPAKANVB5IaAqzUNWuHkrSxem1FEdvlWCHjaxPCnljsyAMTXD9RfG9UF35hyJyB+M6uoXaIXTPHUzjPh2I1L3+hVTXT/J0uyAo5hG9xabn9Tm2ZYK9CijGQj1G2zqhVRM1YoJfQP4P1JOiiTOnZ0tXlAw8hQHXldmiixcKIHIn9xZsRFAWniWRQ6uRD4i6f6RuGCcUv0HnT1kh4EYW1tSqxdTcoJ43Zr4xyDT9CyZww24Q8CE7nsiGHHiEqFNV9ckLLJjxyCXX2p/I6OvhQqmlu7OYnfz4gGTirAoAM+9T8vY/+kYovWgDPWCLr5tsSnFFRPEnTPXUryWHX034b8W9PXMH7yz2jw1s= | ||
on: heroku_production | ||
app: probot-camckk |
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,12 @@ | ||
alias heroku='winpty docker run -it --rm --volume "$(pwd)":/workspace --volume "${HOME}/.local":/home/heroku/.local --volume "${HOME}/.cache":/home/heroku/.cache --volume "${HOME}/.netrc":/home/heroku/.netrc wenlock/herokucli:7.18.8.1' | ||
|
||
|
||
alias heroku='winpty docker run -it --rm --volume "$(pwd)":/workspace wenlock/herokucli:7.18.8.1' | ||
|
||
docker run -it --rm -v ${pwd}:/workspace -v ${home}\.local:/home/heroku/.local -v ${home}\.netrc:/home/heroku/.netrc -v ${home}\.cache:/home/heroku/.cache wenlock/herokucli:7.18.8.1 | ||
|
||
|
||
etrc:/home/heroku/.netrc" -v "${home}\.cache:/home/heroku/.cache" wenlock/herokucli:7.18.8.1 $* | ||
|
||
Function HEROKUCLI { docker run -it --rm -v ${pwd}:/workspace -v ${home}\.local:/home/heroku/.local -v ${home}\.netrc:/home/heroku/.netrc -v ${home}\.cache:/home/heroku/.cache wenlock/herokucli:7.18.8.1 $args} | ||
Set-Alias -Name heroku -Value HEROKUCLI |