Comments (2)
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.
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)
- multiple buildpack
- Build suddenly breaking HOT 2
- Could you release major version(s) of your GitHub action? HOT 4
- Buildpack not recognized HOT 1
- [Feature request] Add action typings
- Deploy a Heroku Buildpack to Heroku Elements? HOT 1
- Don't auto deploy option
- Deploy NPM Workspaces HOT 1
- Node 16 HOT 8
- using env_file
- Please upgrade node 12 to 16 HOT 1
- heroku: Press any key to open up the browser to login or q to exit HOT 2
- How do I run a command on Heroku after deployment HOT 1
- The `set-output` command is deprecated HOT 4
- NA
- unable to deploy to Heroku due to ToS change? HOT 3
- healthcheck doesn't work with URLs with HTTP auth
- Got an error when using env_file as params
- Node Update HOT 1
- node18 should be node20 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-deploy.