Skip to content

Commit

Permalink
chore: set cloud type
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy committed Oct 12, 2023
1 parent 8b80385 commit 8e33aea
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ jobs:

- name: Create Env file
run: |
touch .env
echo SUPABASE_URL=${{ secrets.SUPABASE_URL }} >> .env
echo SUPABASE_ANON_KEY=${{ secrets.SUPABASE_ANON_KEY }} >> .env
cp dev.env .env
sed -i 's|CLOUD_TYPE=.*|CLOUD_TYPE=1|' .env
sed -i 's|SUPABASE_URL=.*|SUPABASE_URL=${{ secrets.SUPABASE_URL }}|' .env
sed -i 's|SUPABASE_ANON_KEY=.*|SUPABASE_ANON_KEY=${{ secrets.SUPABASE_ANON_KEY }}|' .env
working-directory: frontend/appflowy_flutter

- name: Install flutter
Expand Down Expand Up @@ -176,9 +177,10 @@ jobs:

- name: Create Env file
run: |
touch .env
echo SUPABASE_URL=${{ secrets.SUPABASE_URL }} >> .env
echo SUPABASE_ANON_KEY=${{ secrets.SUPABASE_ANON_KEY }} >> .env
cp dev.env .env
sed -i 's|CLOUD_TYPE=.*|CLOUD_TYPE=1|' .env
sed -i 's|SUPABASE_URL=.*|SUPABASE_URL=${{ secrets.SUPABASE_URL }}|' .env
sed -i 's|SUPABASE_ANON_KEY=.*|SUPABASE_ANON_KEY=${{ secrets.SUPABASE_ANON_KEY }}|' .env
working-directory: frontend/appflowy_flutter

- name: Install flutter
Expand Down Expand Up @@ -295,9 +297,10 @@ jobs:

- name: Create Env file
run: |
touch .env
echo SUPABASE_URL=${{ secrets.SUPABASE_URL }} >> .env
echo SUPABASE_ANON_KEY=${{ secrets.SUPABASE_ANON_KEY }} >> .env
cp dev.env .env
sed -i 's|CLOUD_TYPE=.*|CLOUD_TYPE=1|' .env
sed -i 's|SUPABASE_URL=.*|SUPABASE_URL=${{ secrets.SUPABASE_URL }}|' .env
sed -i 's|SUPABASE_ANON_KEY=.*|SUPABASE_ANON_KEY=${{ secrets.SUPABASE_ANON_KEY }}|' .env
working-directory: frontend/appflowy_flutter

- name: Install flutter
Expand Down

0 comments on commit 8e33aea

Please sign in to comment.