From 5b3bea2983dc385c7cf28092126b878e10116bef Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Mon, 13 May 2024 21:42:16 -1000 Subject: [PATCH] fix(build): :green_heart: Make CI properly get secrets --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4b992f7..6b4968d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,7 @@ jobs: # Build job build: runs-on: ubuntu-latest + environment: NPM Deploy steps: - name: Checkout uses: actions/checkout@v4 @@ -19,7 +20,7 @@ jobs: - uses: oven-sh/setup-bun@v1 - name: Create bunfig.toml with NPM token (GitHub Secrets) - run: echo -e "[install]\nregistry = { url = \"https://registry.npmjs.org/\", token = "${{ secrets.NPM_TOKEN }}" }" > bunfig.toml + run: echo -e "[install]\nregistry = { url = \"https://registry.npmjs.org/\", token = \"${{ secrets.NPM_TOKEN }}\" }" > bunfig.toml - name: Install dependencies run: bun install --frozen-lockfile --production