GithubHelp home page GithubHelp logo

heroku-action's Introduction

Hi πŸ‘‹

I'm Christian Dario Nievas, 24 y.o and student of systems engineering at the UTN (Universidad TecnolΓ³gica Nacional).
From Buenos Aires, Argentina πŸ‡¦πŸ‡·.

More about me

πŸ‘¨β€πŸ’» Cyber Security Assistant - Incident Response Team at MercadoLibre
πŸ‘¨β€πŸ« Teaching Assistant at UTN in System's Design (DiseΓ±o de sistemas) subject
πŸ‘¨β€πŸ« Professor at Escuela de Arte Multimedia Da Vinci
πŸ‘¨β€πŸ« Professor at UADE
🧭 Campus Advisor at GitHub
β˜• Host at TecnoExpresso Podcast (ES)
☠️ Pentester enthusiast in HackTheBox
πŸ’• Love to Python, NodeJS, Linux and NoSQL
πŸ€– Bot creator (Twitch/Telegram/Discord)

🧠 "If someone already did it, you can do it too, but if no one did it, be the first to do it" as mindset 🧠

🀝 Organizations

πŸ€“ Learning

  • Go
  • TypeScript

πŸ™‚ Thanks for visiting and have a nice day! πŸ™‚

heroku-action's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

heroku-action's Issues

SyntaxError: Unexpected token ' in JSON at position 1

Running your action and encountered the subject error

Buildpacks cleared. Next release on fac-lumen-api will detect buildpacks normally.
heroku: Press any key to open up the browser to login or q to exit: undefined:1
['https://github.com/heroku/heroku-buildpack-php.git']
^

SyntaxError: Unexpected token ' in JSON at position 1
at JSON.parse ()
at addBuildpacks (/home/runner/work/_actions/CDNievas/heroku-action/v1.0/index.js:40:27)

My yml

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: CDNievas/[email protected] # This is the action
        with:
          heroku_email: ${{ secrets.HEROKU_EMAIL }}
          heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
          heroku_app_name: "fxxxxxxxx"
          useforce: true
          branch: "release/staging"
          dynamicFiles: true
          procfile: "web: vendor/bin/heroku-php-apache2 public/"
          buildpacks: "['https://github.com/heroku/heroku-buildpack-php.git']"

Press any key to open up the browser to login or q to exit: child_process.js:660 throw err;

Running your action I get this exception:

Added git remote heroku
Buildpacks cleared. Next release on klau-package-viewer-backend will detect buildpacks normally.
Buildpack set. Next release on klau-package-viewer-backend will use heroku-community/multi-procfile.
Run git push heroku main to create a new release using this buildpack.
Buildpack added. Next release on klau-package-viewer-backend will use:
  1. heroku-community/multi-procfile
  2. heroku/nodejs
Run git push heroku main to create a new release using these buildpacks.
Added buildpacks
HEAD detached from a7fdcf0
nothing to commit, working tree clean
heroku: Press any key to open up the browser to login or q to exit: child_process.js:660
    throw err;
    ^

Error: Command failed: git add -A . && git commit -m "Added dynamic files"
    at checkExecSyncError (child_process.js:621:11)
    at execSync (child_process.js:657:15)
    at execComm (/home/runner/work/_actions/CDNievas/heroku-action/v1.0/index.js:1[45](https://github.com/Klaudeta/view-packages-pro/runs/5338899550?check_suite_focus=true#step:3:45):10)
    at addDynamicFiles (/home/runner/work/_actions/CDNievas/heroku-action/v1.0/index.js:59:5)
    at Object.<anonymous> (/home/runner/work/_actions/CDNievas/heroku-action/v1.0/index.js:15:1)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:10[47](https://github.com/Klaudeta/view-packages-pro/runs/5338899550?check_suite_focus=true#step:3:47):10) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 1705,
  stdout: null,
  stderr: null

and my config is as follow:

name: Push stack to heroku
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Release backend
        uses: CDNievas/[email protected]
        with:
          heroku_api_key: ${{secrets.HEROKU_SECRET}}
          heroku_app_name: klau-package-viewer-backend
          heroku_email: ${{secrets.HEROKU_EMAIL}}
          useforce: true,
          buildpacks: "[\"heroku-community/multi-procfile\", \"heroku/nodejs\"]"
          procfile: "web: yarn workspace backend start"
          appdir: "apps/backend"
............

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.