From 714779a7b95809353bcb592e6e41f05fafe703cc Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sat, 12 Jun 2021 21:08:59 +0200 Subject: Pass --publish never for PR builds (#1521) Trying to fix the GitHub Personal Access Token is not set, neither programmatically, nor using env "GH_TOKEN" error. --- .github/workflows/ferdi-builds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index f86650c2b..703929c28 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml @@ -178,7 +178,7 @@ jobs: run: npm run lint && npm run test - name: Build Ferdi without publish for any branch not 'nightly' and not 'release' if: ${{ env.GIT_BRANCH_NAME != 'nightly' && env.GIT_BRANCH_NAME != 'release' }} - run: npm run build + run: npm run build -- --publish never shell: bash - name: Build Ferdi with publish for 'nightly' branch if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} -- cgit v1.2.3-54-g00ecf