Skip to content

Commit

Permalink
chore(deploy): remove Xata branch configuration from deployment workflow
Browse files Browse the repository at this point in the history
- Deleted XATA_BRANCH environment variable from both Prod and Prod-CN jobs in the deploy-self-host.yml workflow.
  • Loading branch information
PaiJi committed Dec 8, 2024
1 parent 93daf36 commit 44a3748
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/deploy-self-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
environment: Prod
env:
XATA_API_KEY: ${{ secrets.XATA_API_KEY }}
XATA_BRANCH: ${{ vars.XATA_BRANCH }}
XATA_FALLBACK_BRANCH: ${{ vars.XATA_FALLBACK_BRANCH }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
ENABLE_TRACK: ${{ vars.ENABLE_TRACK }}
Expand All @@ -29,7 +28,6 @@ jobs:
touch .env
echo NEXT_PUBLIC_REGION="GLOBAL" >>.env
echo XATA_API_KEY="$XATA_API_KEY" >> .env
echo XATA_BRANCH="$XATA_BRANCH" >> .env
echo XATA_FALLBACK_BRANCH="$XATA_FALLBACK_BRANCH" >> .env
echo SENTRY_AUTH_TOKEN="$SENTRY_AUTH_TOKEN" >> .env
echo NEXT_PUBLIC_ENABLE_TRACK="$ENABLE_TRACK" >> .env
Expand Down Expand Up @@ -57,7 +55,6 @@ jobs:
environment: Prod-CN
env:
XATA_API_KEY: ${{ secrets.XATA_API_KEY }}
XATA_BRANCH: ${{ vars.XATA_BRANCH }}
XATA_FALLBACK_BRANCH: ${{ vars.XATA_FALLBACK_BRANCH }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
ENABLE_TRACK: ${{ vars.ENABLE_TRACK }}
Expand All @@ -72,7 +69,6 @@ jobs:
run: |
touch .env
echo XATA_API_KEY="$XATA_API_KEY" >> .env
echo XATA_BRANCH="$XATA_BRANCH" >> .env
echo XATA_FALLBACK_BRANCH="$XATA_FALLBACK_BRANCH" >> .env
echo SENTRY_AUTH_TOKEN="$SENTRY_AUTH_TOKEN" >> .env
echo NEXT_PUBLIC_ENABLE_TRACK="$ENABLE_TRACK" >> .env
Expand Down

0 comments on commit 44a3748

Please sign in to comment.