Reputation: 366
I have created a Pub Sub Function in the Console
and I want to upload a folder with my project using the console and not using terminal, every time I have an update.
I use Python.
In the Docs they say I can find a button to upload ZIP, but there is nothing like this. https://cloud.google.com/functions/docs/deploying/console
Question is :
main.py
or index.py
?requirement.txt
file by myself? I can't see it in my project in my machine.Upvotes: 0
Views: 131
Reputation: 366
You have to click 'edit
' button to edit the Function, then in the 'Source' tab, left to the source, there is a drop down, where you can see "Upload Zip".
Doing this in the Terminal seems to be easier :
sudo gcloud functions deploy Project_name
Upvotes: 1