Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

The purpose of this repository is to update a file in my GitHub account based on a git push.

It was also an interesting way to learn more about GitHub webhooks.

Update locally

sls invoke local -s prod -r ap-southeast-1 --function forceUpdate --data '{"owner":"aizatto","repo":"gitbook-public"}'

Update remotely

aws lambda invoke --function-name gitbook-summary-prod-forceUpdate --payload '{"owner":"aizatto","repo":"gitbook-public"}' /dev/stdout

Deploy

sls deploy -s prod -r ap-southeast-1

About

Serverless script to parse my gitbook SUMMARY.md to create a page for a "Table of Contents"

Resources

Releases

No releases published

Packages

No packages published