We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9622de0 commit 8938b3bCopy full SHA for 8938b3b
.github/workflows/ci.yml
@@ -135,9 +135,10 @@ jobs:
135
labels: ${{ steps.meta.outputs.labels }}
136
137
publish-scaleway:
138
- name: Deploy to Scaleway ${{ vars.GHA_DEPLOY_ENV_NAME }}
139
- if: github.event_name == 'push' && vars.GHA_DEPLOY_ENV_NAME
140
- environment: production
+ name: Deploy to Scaleway ${{ vars.GHA_DEPLOY_ENV_NAME || '(skipped)' }}
+ if: github.event_name == 'push' && vars.GHA_DEPLOY_ENV_NAME != ''
+ environment: |
141
+ ${{ github.ref == 'refs/heads/main' && 'production' || github.ref == 'refs/heads/next' && 'staging' || '' }}
142
runs-on: ubuntu-latest
143
needs: publish-docker
144
steps:
0 commit comments