Skip to content

TS Azure Functions to automate content publishing on lalogo.dev

License

Notifications You must be signed in to change notification settings

la-lo-go/lalogo.dev-relay

Repository files navigation

Lalogo.dev relay

This repository contains the code for the management of the webhooks and cron jobs for my personal website that clean the sensitive data.

Relay diagram

.env file example

GITHUB_TOKEN=your_github_token
OWNER=la-lo-go
AUTHOR_EMAIL=your@email.com
MANFRED_REPO=manfred-cv
MAIN_REPO=lalogo.dev
NEW_MANFRED_DATA_PATH=src/data/manfred

Webhooks local development

  1. Start a new smee.io tunnel
  2. Add the smee.io tunnel to the GitHub webhook
  3. Run the following command to forward the port 7071 to the smee.io tunnel
    smee -u https://smee.io/[code] -p 7071 -P /api/Push-Manfred-CV

Run the Azure functions locally

  • Fresh start (install, compile and run)
    npm start
  • Run last compiled version
    func start

License

Mozilla Public License 2.0

License: MPL 2.0

About

TS Azure Functions to automate content publishing on lalogo.dev

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published