Skip to content

Instantly share code, notes, and snippets.

View mweslander's full-sized avatar

Michael Weslander mweslander

View GitHub Profile
@mweslander
mweslander / script.js
Created April 8, 2019 18:13 — forked from jmolivas/script.js
Trigger Netlify build from a Google Spreadsheet
# From your Google Spreadsheet, select the menu item Tools > Script editor.
# Copy and paste this code.
# Replace uuid with the build_hooks uuid from your Netlify project.
function onOpen() {
SpreadsheetApp.getUi()
.createMenu('Scripts')
.addItem('Build', 'build')
.addToUi();
}