#help

1 messages · Page 1 of 1 (latest)

neat kettle
#

can we message here?

boreal fiber
#

ig

#

but im on mobile rn

neat kettle
#

ok so I want to add a github action

#

oh

boreal fiber
#

anyways tell me the question

neat kettle
#

or even using an api in the node.js app itself

neat kettle
boreal fiber
#

not clear what you want

neat kettle
#

ok let me explain again

boreal fiber
#

git action to deploy current state of a branch to heroku?

neat kettle
#

yeah

#

basicly

boreal fiber
#

git push heroku main

#

or master

neat kettle
#

hmmm

#

how will it work?

boreal fiber
#

it will deploy the current state of github repo

neat kettle
#

but I don't need like heroku api key?

#

or nothing?

boreal fiber
#

no nothing

#

Just try it now

neat kettle
#

can you explain it? just for my knowledge cause I don't know a thing about github actions

#

i just know it can help automate things

boreal fiber
#

bruh

#

tell what to explain

neat kettle
#

oh lol i wasn't clear again

#

ok again

#

How the git heroku works?

boreal fiber
#

im not a documentation

boreal fiber
neat kettle
#

and heroku is a subcommand

#

?

boreal fiber
#

ya

neat kettle
#

ohhh

#

I mean that explains a lot

#

ok did you try it?

#

hmmm am i missing something?

boreal fiber
#

have you created a heroku app?

#

ok first create by

#

heroku create

neat kettle
#

but i have a heroku app

#

in my heroku account

boreal fiber
#

creating a new one is best for me to advice

#

if you can

neat kettle
#

oh

#

I mean wouldn't be messy?

#

for every deploy creating a new app

boreal fiber
#

it wont create a new app for every dwploy!

#

it will deploy it to the created application

neat kettle
#

yo Im confused

#

you know what leave it I am a bit dumb in this git thing

#

i tried to do heroku in cmd but it wouldn't work

boreal fiber
#

i too was

neat kettle
neat kettle
boreal fiber
#

just use git

#

first install heroku

#

Cli

neat kettle
#

oh I need that

boreal fiber
#

just google that

neat kettle
#

I thought I needed that

#

but how do i install it in github action workflow

boreal fiber
#

just install heroku CLI

#

dont think about git here

neat kettle
#

yeah I'm downloading it right now

#

bro thank you so much for helping me out

boreal fiber
#

so youre done

#

?

neat kettle
#

hm I just downloaded it

boreal fiber
#

there are lot to learn

neat kettle
#

yeah you're right

#

but its a start

boreal fiber
#

'beginning of an era'

neat kettle
#

yeah fr

#

I just downloaded it

#

the heroku cli

boreal fiber
#

so now go to cmd

neat kettle
#

and the command doesn't work

boreal fiber
#

heroku create doesnt work?

neat kettle
#

I think it didn't update the path

boreal fiber
#

close and open cmd

neat kettle
#

yooo

#

it worked

#

the command works

boreal fiber
#

ye cmd have to be restarted when that kind of an installation is done

neat kettle
#

oh yeah without u I would probably reinstalll

#

lol

#

ok now I headed to the folder of my bot

#

in the cmd ofcourse

boreal fiber
#

so heroku create

neat kettle
#

ok

boreal fiber
#

update it later, its not that much of a case

neat kettle
#

what to do?

boreal fiber
#

invalid credentials?

#

try heroku create

#

qgain

#

Then before doing anything

#

show me what it ask for

neat kettle
#

ok it worked

#

i logged in

#

i did heroku create

boreal fiber
#

ok

#

nice

#

have you added your files to git?

neat kettle
#

yeah its on a repository on github

boreal fiber
neat kettle
#

oh lol

#

idk

#

but I have a git clone url

#

I need that right?

boreal fiber
#

yes

neat kettle
#

got it

boreal fiber
#

first do a git add * in your project folder in your local machine

neat kettle
#

I added them before

#

I'm in a folder that has all of the files

boreal fiber
#

so you re sure files in git and github are all the same?

neat kettle
#

yeah

#

100 precent

boreal fiber
#

ok

#

do a git push heroku main now

neat kettle
#

ok doing it now

boreal fiber
#

then it will push files in github to the heroku application you created

neat kettle
#

yeah i messed something

#

lol

boreal fiber
#

what is the error

neat kettle
#

it says

boreal fiber
#

just show the error

#

the complete error

neat kettle
#

that's the full error

boreal fiber
#

show me your repo in giyhub

neat kettle
#

wait a sec

boreal fiber
neat kettle
#

so that means that I don;t have a heroku app?

boreal fiber
#

you have

#

just show the github repooo!

neat kettle
#

wait wait im having sometrouble with my github account

boreal fiber
#

ah

neat kettle
#

oh i just noticed something

#

there is no app in heroku called shrouded

boreal fiber
#

ah

#

painful

neat kettle
#

can i just not attach the app to the folder?

boreal fiber
#

accept my friend request