Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
m-abdelwahab committed Jun 11, 2024
1 parent d8613a1 commit 9ede0d4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,6 @@ on:
paths:
- 'apps/api/**'

env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
COOKIE_SECRET: ${{ secrets.COOKIE_SECRET }}
INSTANT_POSTGRES_API_KEY: ${{ secrets.INSTANT_POSTGRES_API_KEY }}
APP_URL: ${{ secrets.APP_URL }}
CLOUDFLARE_TURNSTILE_SECRET_KEY: ${{ secrets.CLOUDFLARE_TURNSTILE_SECRET_KEY }}
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }}
UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

jobs:
deploy-production:
runs-on: ubuntu-latest
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
paths:
- 'apps/web/**'

env:
VITE_API_URL: ${{ secrets.VITE_API_URL }}

jobs:
deploy-production:
runs-on: ubuntu-latest
Expand All @@ -25,6 +22,12 @@ jobs:

- run: |
echo "{\"VITE_API_URL\": \"$VITE_API_URL\"}" > secrets.json
- run: |
echo "{
\"VITE_API_URL\": \"${{ secrets.VITE_API_URL }}\",
\"VITE_CLOUDFLARE_TURNSTILE_SITE_KEY\": \"${{ secrets.VITE_CLOUDFLARE_TURNSTILE_SITE_KEY }}\",
}" > secrets.json
- name: Upload secrets
uses: cloudflare/[email protected]
Expand Down
1 change: 1 addition & 0 deletions apps/api/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Instant Postgres API


2 changes: 1 addition & 1 deletion apps/web/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Instant Postgres frontend
# Instant Postgres Web

0 comments on commit 9ede0d4

Please sign in to comment.