From f333a9d9ef8ce492c78428780f272b4ca0315591 Mon Sep 17 00:00:00 2001 From: Robert Field Date: Fri, 22 Sep 2023 20:57:03 +0100 Subject: [PATCH] build: posthog key fix use the correct .env location for echo --- .github/workflows/generate-examples.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/generate-examples.yml b/.github/workflows/generate-examples.yml index ead0fc6b..91aab074 100644 --- a/.github/workflows/generate-examples.yml +++ b/.github/workflows/generate-examples.yml @@ -44,8 +44,8 @@ jobs: - name: Make .env file for composable-cli package run: | touch ./packages/composable-cli/.env - echo POSTHOG_PUBLIC_API_KEY=${{ secrets.POSTHOG_PUBLIC_API_KEY }} >> .env - cat .env + echo POSTHOG_PUBLIC_API_KEY=${{ secrets.POSTHOG_PUBLIC_API_KEY }} >> ./packages/composable-cli/.env + cat ./packages/composable-cli/.env - name: Install Dependencies run: yarn install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee635098..c7f1fb0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,8 +23,8 @@ jobs: - name: Make .env file for composable-cli package run: | touch ./packages/composable-cli/.env - echo POSTHOG_PUBLIC_API_KEY=${{ secrets.POSTHOG_PUBLIC_API_KEY }} >> .env - cat .env + echo POSTHOG_PUBLIC_API_KEY=${{ secrets.POSTHOG_PUBLIC_API_KEY }} >> ./packages/composable-cli/.env + cat ./packages/composable-cli/.env - name: Install Dependencies run: yarn