Skip to content

Commit 2d3b8c4

Browse files
committed
Fix branch CI builds
1 parent 37aaae8 commit 2d3b8c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
if: github.ref != 'refs/heads/main'
2121
run: npm run build
2222
env:
23-
NODE_ENV: development
2423
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2524

2625
# Build with secrets for production, on main only:
@@ -145,7 +144,8 @@ jobs:
145144

146145
publish-scaleway:
147146
name: Deploy to Scaleway
148-
environment: ${{ github.ref == 'refs/heads/main' && 'production' || github.ref == 'refs/heads/next' && 'staging' || 'no-environment-deploy-skipped' }}
147+
environment: ${{ github.ref == 'refs/heads/main' && 'production' }}
148+
if: github.ref == 'refs/heads/main'
149149
runs-on: ubuntu-latest
150150
needs: publish-docker
151151
steps:

0 commit comments

Comments
 (0)