- Node.js and NPM
- Install the Firebase CLI
- We recommend using MAJOR version
8, npm install -g firebase-tools@^8.0.0
- Run
firebase login with your Google account
- From the Actions on Google Console, New project > Create project > under What kind of Action do you want to build? > Custom > Blank project
- Install the Actions CLI
- Navigate to
settings/settings.yaml, and replace <PROJECT_ID> with your project ID
- Run
gactions login to login to your account.
- Run
gactions push to push your project.
- Run
gactions deploy preview to deploy the project.
- Go the to google cloud console.
- Select the project that this action is setup within.
- Select the cloud function that is deployed from the google actions console.
- Edit the cloud function.
- Within the Variables, Networking and Advanced Settings area select Environment Variables.
- Enter a new variable named API_HOST and enter the domain name of the server that runs AudioStation i.e. xyz.synology.me
Article on how this came about