Skip to content

Commit

Permalink
heroku demo
Browse files Browse the repository at this point in the history
  • Loading branch information
csilles committed Sep 23, 2021
1 parent a7ce43e commit 75b9f3d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .travis.yml
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
12 changes: 12 additions & 0 deletions powershell alias.txt
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

0 comments on commit 75b9f3d

Please sign in to comment.