Publish a google docs/sheets web app - In a google doc or sheet, menu item Extensions > Apps Script
- Press the “+” button and add a new HTML file called “Index”
- You can insert your website code here - for example the code you generated from downloading/exporting your google doc
- Save the file
- In the pre-existing “Code” file, add this function:
- function doGet(){
- return HtmlService.createHtmlOutputFromFile('Index');
- }
- In the upper right, click deploy > new deployment
- Select the gear > web app
- Execute as yourself
- Who has access > anyone
- Click “Deploy”
- Follow the url to your site
- Pros:
- publish interactive content
- hosting is covered
- kinda technical setup,
- can’t have multiple pages easily,
- url is cumbersome
|