We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4ff3de1 + 40864db commit f015ab1Copy full SHA for f015ab1
2 files changed
.github/workflows/compute.yml
@@ -26,7 +26,7 @@ jobs:
26
name: "plugin name"
27
runs-on: ubuntu-latest
28
permissions: write-all
29
- environment: ${{ github.ref == 'refs/heads/main' && 'main' || 'development' }}
+ environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) && 'main' || 'development' }}
30
env:
31
PLUGIN_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
KERNEL_PUBLIC_KEY: ${{ secrets.KERNEL_PUBLIC_KEY }}
0 commit comments