Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gazf/google-apps-script-ci-starter
Google Apps Script with CI/CD(wercker) Starter Kit
https://github.com/gazf/google-apps-script-ci-starter
ci clasp google-apps-script node wercker
Last synced: 4 months ago
JSON representation
Google Apps Script with CI/CD(wercker) Starter Kit
- Host: GitHub
- URL: https://github.com/gazf/google-apps-script-ci-starter
- Owner: gazf
- Created: 2018-09-11T18:06:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-11T18:10:11.000Z (almost 6 years ago)
- Last Synced: 2024-01-16T17:14:37.646Z (6 months ago)
- Topics: ci, clasp, google-apps-script, node, wercker
- Language: JavaScript
- Homepage: https://gazee.net/develop/google-apps-script-github-ci/
- Size: 2.93 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- google-apps-script-awesome-list - gazf/google-apps-script-ci-starter
- google-apps-script-awesome-list_contributorpw - gazf/google-apps-script-ci-starter
README
# google-apps-script-ci-starter
Deploy the Google Apps Script by CI (wercker)## How to use?
### local: Create `.clasprc.json`
```
npm install -g @google/clasp
clasp login
cat ~/.clasprc.json
```### wercker: Add Environment
|key|value|
|---|---|
|`CLASPRC_JSON`|Inside of .clasprc.json|
|`CLASP_JSON`|`{"scriptId": "","rootDir":"gas"}`|## Edit /gas/source/index.js
Add your code here.## CAUTION!
All existing scripts are deleted or overwritten.