Code Monkey home page Code Monkey logo

Comments (2)

AkhileshNS avatar AkhileshNS commented on May 20, 2024

I would get rid of the "buildpack", "branch", "dontuseforce" and "appdir" variables in your action since you aren't using them.

Your yaml file should look something like:

name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Install dependencies
      run: yarn install

    - name: Test project
      run: yarn test

    - name: Build project
      run: yarn build

    - name: Deploy to Heroku
      uses: AkhileshNS/heroku-deploy@master
      with:
        heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
        heroku_email: ${{ secrets.HEROKU_EMAIL }}
        heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}

Also in your output *** is just github actions hiding secrets from being printed in the logs. So its likely the *** is actually just the value of secrets.HEROKU_APP_NAME.

Also never leave a value like appdir: in yaml. Always assign it some value like appbir: "./dist" or leave it out. Because otherwise, the value can't get initialized with its default value

from heroku-deploy.

tribakzero avatar tribakzero commented on May 20, 2024

Thank you for the prompt response, you're great, it was that. Also thanks for helping me understand the *** thing.

I'll keep the rest of your advice in mind, have a great day :)

from heroku-deploy.

Related Issues (20)

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.