We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37aaae8 commit 2d3b8c4Copy full SHA for 2d3b8c4
.github/workflows/ci.yml
@@ -20,7 +20,6 @@ jobs:
20
if: github.ref != 'refs/heads/main'
21
run: npm run build
22
env:
23
- NODE_ENV: development
24
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
26
# Build with secrets for production, on main only:
@@ -145,7 +144,8 @@ jobs:
145
144
146
publish-scaleway:
147
name: Deploy to Scaleway
148
- environment: ${{ github.ref == 'refs/heads/main' && 'production' || github.ref == 'refs/heads/next' && 'staging' || 'no-environment-deploy-skipped' }}
+ environment: ${{ github.ref == 'refs/heads/main' && 'production' }}
+ if: github.ref == 'refs/heads/main'
149
runs-on: ubuntu-latest
150
needs: publish-docker
151
steps:
0 commit comments