Use production environment on GitHub
This commit is contained in:
@@ -58,6 +58,7 @@ jobs:
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment: production
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
concurrency: deploy-group # optional: ensure only one action runs at a time
|
concurrency: deploy-group # optional: ensure only one action runs at a time
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user