hotfix: fixes deploy environment
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -80,7 +80,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
needs: [docker]
|
needs: [docker]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'push' && (github.ref == 'refs/heads/main')
|
environment: ${{ github.ref_name == 'main' && 'production' || 'development' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user