question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to automate `Publish>Deploy as API executable...`

See original GitHub issue

Currently when working on REST script execution targets, after running gulp upload-latest --env dev I have to go to the script project in a browser and run Publish>Deploy as API executable..., and name the version.

Is there any way to automate this as part of pushing the code up?

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:2
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
shabegomcommented, Oct 25, 2016

Don’t actually know if this is helpful for your use case but I have devMode: true set and it allows the remote execution API to run the latest version of the script without republishing. It only does this for the developer, not users so is only good for testing.

script.scripts.run({
        auth: auth,
        resource: {
            function: 'someFunction',
            devMode: true
        },
0reactions
gunarcommented, Jan 8, 2018

@lricoy yes, we are all very much interested still!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Execute Functions with the Apps Script API - Google Developers
Step 2: Deploy the script as an API executable · Open the Apps Script project with the functions you want to use. ·...
Read more >
How to Publish/Deploy Google Sheet script as API executable ...
You can now deploy a script project directly from the project manifest. We've updated the Publish script editor menu item to more accurately ......
Read more >
Using the Execution API - CTRLQ.org
Deploy the script project for execution by selecting Publish > Deploy as API executable. Choose a version (or create a new one) and...
Read more >
Run Apps Script code from anywhere using the Execution API
Try Google Workspace at No Cost​​ The Execution API allows developers to execute scripts from any client (browser, server, mobile, or any device) ......
Read more >
toDoc - Google Apps Script Execution API example - YouTube
An example of a command line tool that uses the Execution API.Github repo: https://github.com/Spencer-Easton/toDocD lang tools: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found