recipe-deploy-apps-script

Push local files to a Google Apps Script project.

googleworkspace/cli616 installsApache-2.0Synced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: recipe-deploy-apps-script
description: Push local files to a Google Apps Script project.
license: Apache-2.0
---

# Deploy an Apps Script Project

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-apps-script`

Push local files to a Google Apps Script project.

## Steps

1. List existing projects: `gws apps-script projects list --format table`
2. Get project content: `gws apps-script projects getContent --params '{"scriptId": "SCRIPT_ID"}'`
3. Update content: `gws apps-script projects updateContent --params '{"scriptId": "SCRIPT_ID"}' --json '{"files": [{"name": "Code", "type": "SERVER_JS", "source": "function main() { ... }"}]}'`
4. Create a new version: `gws apps-script projects versions create --params '{"scriptId": "SCRIPT_ID"}' --json '{"description": "v2 release"}'`

More General & Other skills

← All General & Other skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY