Skip to content

Commit

Permalink
updatess
Browse files Browse the repository at this point in the history
  • Loading branch information
m-abdelwahab committed May 31, 2024
1 parent 8ce3f45 commit 4101bb0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ jobs:
- run: bun run build --filter=api

- name: Deploy
uses: cloudflare/pages-action@v1
uses: AdrianGonz97/refined-cf-pages-action@v1
with:
githubToken: ${{ secrets.GH_TOKEN }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: instant-postgres-api
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
- run: bun run build --filter=web

- name: Deploy
uses: cloudflare/pages-action@v1
uses: AdrianGonz97/refined-cf-pages-action@v1
with:
githubToken: ${{ secrets.GH_TOKEN }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: instant-postgres
Expand Down
1 change: 1 addition & 0 deletions apps/api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ const route = app.post(
);
},
);

export type AppType = typeof route;

export default app;

0 comments on commit 4101bb0

Please sign in to comment.