From 8712ed4eeb9e5c15f7730433e74ad1518befff33 Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Wed, 11 Sep 2019 02:32:20 -0400 Subject: [PATCH] prod dependencies --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 3f89750..94e82a3 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,22 @@ run() See the [toolkit documentation](https://github.com/actions/toolkit/blob/master/README.md#packages) for the various packages. +## Publish to a distribution branch + +Comment out node_modules in .gitignore +```bash +# Dependency directories +# node_modules/ +``` + +```bash +$ git checkout -b releases/v1 +``` + +```bash +$ npm prune --production +``` + ## Usage: The uses path will be the org and repo where you create your action