mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-04-23 03:01:03 -04:00
Minnor fix on check branch
This commit is contained in:
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@@ -38,9 +38,11 @@ jobs:
|
||||
steps:
|
||||
- name: Check branch
|
||||
run: |
|
||||
if [ "$GITHUB_REF_NAME" != "main" ]; then
|
||||
echo "Operation not permitted"
|
||||
exit 1
|
||||
if [ "${{ env.DATA_ENV }}" = "prod" ]; then
|
||||
if [ "$GITHUB_REF_NAME" != "main" ]; then
|
||||
echo "Operation not permitted"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
- name: Checkout
|
||||
|
||||
Reference in New Issue
Block a user