Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
m-abdelwahab committed Jun 9, 2024
1 parent 9dbef19 commit e1cdd54
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,18 @@ jobs:

- run: bun run build --filter=api

- uses: antfu/action-write-config
with:
path: 'secrets.json'
data:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
COOKIE_SECRET: ${{ secrets.COOKIE_SECRET }}
NEON_API_KEY: ${{ secrets.NEON_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 }}
- run: |
echo "{
\"DATABASE_URL\": \"${{ secrets.DATABASE_URL }}\",
\"COOKIE_SECRET\": \"${{ secrets.COOKIE_SECRET }}\",
\"NEON_API_KEY\": \"${{ secrets.NEON_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 }}\"
}" > 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 +1,2 @@
# Instant Postgres API

0 comments on commit e1cdd54

Please sign in to comment.