From ef077a17547cbe661e1c05b7cc678b925dd207ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne-Siri=20Tr=C3=B8nnes?= Date: Fri, 27 Oct 2023 11:59:53 +0200 Subject: [PATCH] fixed so only publish step sets environment --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index abb75be7..efafbe39 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -5,7 +5,6 @@ on: [push] jobs: build: runs-on: ${{ matrix.os }} - environment: production strategy: matrix: @@ -34,6 +33,7 @@ jobs: CI: true publish: + environment: production needs: build if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest