mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
the beauty, the glory, of javascript
This commit is contained in:
parent
e43de72bf4
commit
0987745b69
1 changed files with 2 additions and 9 deletions
11
.github/workflows/deploy-fleet-website.yml
vendored
11
.github/workflows/deploy-fleet-website.yml
vendored
|
|
@ -59,15 +59,8 @@ jobs:
|
|||
env:
|
||||
HEROKU_EMAIL_FOR_BOT_USER: ${{ secrets.HEROKU_EMAIL_FOR_BOT_USER }}
|
||||
HEROKU_API_TOKEN_FOR_BOT_USER: ${{ secrets.HEROKU_API_TOKEN_FOR_BOT_USER }}
|
||||
run: echo " - $HEROKU_EMAIL_FOR_BOT_USER"
|
||||
run: echo "dont worry this is fake - $HEROKU_API_TOKEN_FOR_BOT_USER"
|
||||
run: cat >~/.netrc <<EOF
|
||||
machine git.heroku.com
|
||||
login $HEROKU_EMAIL_FOR_BOT_USER
|
||||
password $SUPER_SECRET
|
||||
EOF
|
||||
echo "Successfully wrote to ~./netrc"
|
||||
run: echo "here goes" && cat ~/.netrc
|
||||
run: node -e "console.log('machine git.heroku.com\n login $HEROKU_EMAIL_FOR_BOT_USER\n password $HEROKU_API_TOKEN_FOR_BOT_USER\n');" > ~/.netrc
|
||||
run: echo "Successfully wrote to ~./netrc" && cat ~/.netrc
|
||||
|
||||
# Deploy to Heroku (by pushing)
|
||||
- run: echo "Deploying branch '${GITHUB_REF##*/}' to Heroku…"
|
||||
|
|
|
|||
Loading…
Reference in a new issue