Skip to content

Commit

Permalink
Set "no" to clear data in prod (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zangetsu101 authored Jul 14, 2023
1 parent f1eea72 commit 5c36822
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ jobs:
if: ${{ github.event.inputs.environment == 'production' }}
env:
PRODUCTION_DOMAIN: ${{ secrets.PRODUCTION_DOMAIN }}
FACTORY_RESET: ${{ secrets.FACTORY_RESET }}
REPLICAS: ${{ secrets.REPLICAS }}
SMTP_PORT: ${{ secrets.SMTP_PORT }}
SMTP_HOST: ${{ secrets.SMTP_HOST }}
Expand All @@ -133,7 +132,7 @@ jobs:
EMAIL_API_KEY: ${{ secrets.EMAIL_API_KEY }}
run: |
cd ./${{ github.event.repository.name }}
yarn deploy --clear_data=${{ env.FACTORY_RESET }} --restore_metadata=${{ env.FACTORY_RESET }} --environment=demo --host=${{ env.PRODUCTION_DOMAIN }} --version=${{ env.CORE_VERSION }} --country_config_version=${{ env.COUNTRY_CONFIG_VERSION }} --country_config_path=../${{ github.event.repository.name }} --replicas=${{ env.REPLICAS }}
yarn deploy --clear_data=no --restore_metadata=no --environment=demo --host=${{ env.PRODUCTION_DOMAIN }} --version=${{ env.CORE_VERSION }} --country_config_version=${{ env.COUNTRY_CONFIG_VERSION }} --country_config_path=../${{ github.event.repository.name }} --replicas=${{ env.REPLICAS }}
- name: Deploy to staging
if: ${{ github.event.inputs.environment == 'staging' }}
Expand Down

0 comments on commit 5c36822

Please sign in to comment.