From 149b9919bd8317d90ab8dabcbe6131d101bed525 Mon Sep 17 00:00:00 2001 From: AubreySine0 <94921720+AubreySine0@users.noreply.github.com> Date: Fri, 21 Jul 2023 11:37:38 -0700 Subject: [PATCH] docs: update README Additional details --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 248c6b4..8ba159a 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,13 @@ ## To Deploy via GitHub Actions 1. Create GitHub Environments [here](https://github.com/segment-services-eng/destination-function-template/settings/environments) (DEV, QA, PROD, etc) - - _`DEV` is enabled by default in the [deployDestinationFunction.yml](https://github.com/segment-services-eng/destination-function-template/blob/main/.github/workflows/deployDestinationFunction.yml) file_ + - _`DEV` is enabled by default in the [deployDestinationFunction.yml](https://github.com/segment-services-eng/destination-function-template/blob/main/.github/workflows/deployDestinationFunction.yml) file_ (note: this links to the environments in the Template Repo) + - Navigate to settings -> environments in your Function Repo 2. Create Function in Segment Workspace 3. Create Public API Token to allow for deploying 4. Add the following Environment Secrets - `FUNCTION_ID` + - Be sure to include `dfn_` - `PUBLIC_API_TOKEN` ## Deploying to multiple environments